Skip to content Skip to sidebar Skip to footer

Ibm Informix Driver For Nodejs - Setting Environment Variables On Macos

This is a follow on to my original question I am trying to set up IBM's Informix driver for use with NodeJS on MacOS. After viewing the Readme file for the Informix NPM library, I

Solution 1:

The PATH env variable needs $INFORMIXDIR/bin. (There is nothing in plain $INFORMIXDIR worth running other than the install script).

INFORMIXSERVER and INFORMIXSQLHOSTS may be needed for testing the module, but they are not hardcoded (the module will not store that anywhere) You will always be able to specify a different INFORMIXSERVER/INFORMIXSQLHOSTS at runtime.

I never tried it on a MacOS, but you may also need to add DYLD_LIBRARY_PATH, something like "export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH" to your script. Some MacOS binaries will use DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH.

Post a Comment for "Ibm Informix Driver For Nodejs - Setting Environment Variables On Macos"