Sybase IQ programs, including the database server and administration utilities, carry out extensive searches for required files, such as DLLs or shared libraries. In these cases, Sybase IQ programs look for files in the following order:
The executable directory – the directory in which the program executable is held. Also, directories with the following paths relative to the program executable directory:
Parent of the executable directory.
A child of the parent directory named scripts.
Current working directory – when a program is started, it has a current working directory (the directory from which it is started). This directory is searched for required files.
Location registry entry – on a Windows installation, Sybase IQ adds a LOCATION registry entry. The indicated directory is searched, followed by the following:
A child named scripts
A child with the operating system name (bin32, bin, and so on)
System-specific directories – this includes directories where common operating system files are held, such as the Windows directory and the Windows\system directory on Windows.
CLASSPATH directories – for Java files, directories listed in the CLASSPATH environment variable are searched to locate files.
PATH directories – directories in the system path and the user’s path are searched to locate files.
LIBRARY PATH directories – directories listed in the LIBPATH environment variable are searched for shared libraries.