IBM Support

Error encountered while installing informix tools product.

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 see the error if you run the installation from /work/isql/750FC6 directory since the current working directory is not same as the $INFORMIXDIR

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.

[{"Product":{"code":"SSVT2J","label":"Informix Tools"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"7.3;7.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
03 June 2021

UID

swg21641091