Troubleshooting
Problem
While trying to install any of informix tools product (4gl/ 4glrt/ sql/ sqlrt/ 4gp/ 4gprt/ 4db), you run into an error saying INFORMIXDIR and current working directory do not match.
Symptom
During installation of any of informix tools product (4GL/ 4GLRT/ SQL/ SQLRT/ 4GGP/ 4GGPRT/ 4DB), you run into an error saying INFORMIXDIR and current working directory do not match.
Error is something like this:
- INFORMIXDIR and working directory do not match.
INFORMIXDIR is set to /work/infx_tools
Current working directory is /work/IDS1170/tools/isql750
Cause
Unlike informix server installation, tools products must be extracted in the directory where you want to install the product.
Diagnosing The Problem
Run the following commands and verify to ensure the output you get from both the commands match:
echo $INFORMIXDIR
pwd
Resolving The Problem
Extract the product under $INFORMIXDIR and run the installation from the same directory so that the value of current directory and $INFORMIXDIR matches.
You will run into the same error, even in the following situation.
You extracted tools product in a directory which is a link to INFORMIXDIR and you run the installation from the link directory and not from $INFORMIXDIR.
For example:
Product is extracted under /work/isql/750FC6 and
INFORMIXDIR is set to /work/infx_tools
where /work/infx_tools is a link to /work/isql/750FC6
You will not see the error if you run the installation from /work/infx_tools because the values of current working directory matches the value of $INFORMIXDIR.
Was this topic helpful?
Document Information
Modified date:
03 June 2021
UID
swg21641091