There are two possible solutions for an Easysoft server (Easysoft ODBC-ODBC Bridge Server, Easysoft JDBC-ODBC Bridge Server, Easysoft XML-ODBC Server) running on Unix:
installation_dir/easysoft/server_product/server
. (The default location for installation_dir is /usr/local.)
ORACLE_HOME=oracle_libraries_dir export ORACLE_HOME
installation_dir/easysoft/server_product/server
if running the server under {x}inetd.Here is an additional solution if you are using the Easysoft XML-ODBC Server:
ORACLE_HOME=oracle_libraries_dir
<Request>
<Environment>
ORACLE_HOME=oracle_libraries_dir
</Environment>
.
.
.
</Request>
It is also possible to set environment variables such as ORACLE_HOME in the unixODBC odbc.ini file by using the DMEnvAttr attribute.
It would be unlikely for this issue to happen on a Microsoft Windows platform, as the ORACLE_HOME environment is set by the Oracle installer.
Note If you are using the Instant Client, you will need to set LD_LIBRARY_PATH instead of ORACLE_HOME. Use the appropriate method to set LD_LIBRARY_PATH to specify the location where the Instant Client is installed. For example:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:instant_client_dir export LD_LIBRARY_PATH