Installing a Driver for Linux into an Alternate Directory
Before you install or upgrade the Connect driver, ensure that you meet the installation prerequisites. For more information, see Installation Prerequisites.
To install a driver for Linux into an alternate directory, update the oaodbc[64].sh and oaodbc[64].csh files with the installation directory of your choice.
To install a driver for Linux in to an alternate directory:
-
Extract the .zip archive content in to a directory of your choice.
-
Update the oaodbc[64].sh and oaodbc[64].csh files with the installation directory of your choice.
For example if we want to install in to /drivers/netsuite-odbc we replace default path /opt/netsuite/odbcclient in oaodbc64.sh so the result looks like:
LD_LIBRARY_PATH=/drivers/netsuite-odbc/lib64${LD_LIBRARY_PATH:+":"}${LD_LIBRARY_PATH:-""} export LD_LIBRARY_PATH OASDK_ODBC_HOME=/drivers/netsuite-odbc/lib64; export OASDK_ODBC_HOME ODBCINI=/drivers/netsuite-odbc/odbc64.ini; export ODBCINI
The same has to be done for all oaodbc[64].sh and oaodbc[64].csh files.