Extensive file searching on Unix

On Unix, SQL Anywhere programs, including the database server and administration utilities, can perform a more extensive search
for required files such as DLLs or shared libraries. In these cases, SQL Anywhere programs look for files in the following
order:

The executable path (if it can be determined).

The SQL Anywhere installation path is a single directory specified by the $SQLANY12 environment variable if it is defined.

No path (the current working directory).

$HOME/.sqlanywhere12 directory

The PATH environment variable.

The LIBPATH environment variable:

LD_LIBRARY_PATH on Linux and Solaris

LD_LIBRARY_PATH and SHLIB_PATH on HP-UX

LIBPATH on IBM AIX

DYLD_LIBRARY_PATH on Mac OS X

Note

On Unix, SQL Anywhere searches the following paths relative to each location in the preceding list: