Client-Library and Server-Library support dynamic loading of directory, and security drivers. This allows you to change a driver that an application uses and to use features as they become available at your site, without re-linking the application.
$SYBASE/$SYBASE_OCS/config/libtcl.cfg configures Net-Library, directory, and security drivers. This file maps symbolic strings to the appropriate driver and any required initialization information.
Client-Library or Server-Library applications, including Sybase utility programs such as dscp, locate the appropriate drivers specified in libtcl.cfg as follows:
If the driver file name in libtcl.cfg has path components (contains a slash), that path is used. Otherwise, the search continues to step 2.
Depending on your platform, the directories specified by these environment variables are searched:
Sun Solaris, HP Tru64 UNIX, and Linux – LD_LIBRARY_PATH
HP/UX – SHLIB_PATH
IBM RS6000 – LIBPATH
If the driver is not located, the search continues to step 3.
The path $SYBASE/$SYBASE_OCS/lib is used (or $SYBASE/$SYBASE_OCS/devlib for applications built with debug-mode libraries).