The libtcl.cfg and libtcl64.cfg files

The libtcl.cfg and the libtcl64.cfg files (collectively libtcl*.cfg files) are the driver configuration files that contain information about three types of drivers used by Open Client and Open Server products:

A driver is a Sybase library that provides Open Client and Open Server software with a generic interface to an external service provider. This allows Open Client and Open Server to easily support multiple service providers. For example, Open Client can use the Winsock TCP/IP Net-Library driver, NLWNSCK, to connect to a server using the Winsock TCP/IP protocol.

Open Client and Open Server reads libtcl*.cfg when loading a network, directory, or security driver. An entry in libtcl.cfg provides Open Client and Open Server products with the name of the driver and its initialization information.

The purpose of the libtcl*.cfg files is to provide configuration information such as driver, directory, and security services for Open Client and Open Server, and for Open Client and Open Server-based applications. Both libtcl.cfg and libtcl64.cfg are provided on 64-bit platforms. 32-bit applications (on 64-bit platforms) such as dsedit and srvbuild look up the libtcl.cfg file while 64-bit applications look up the libtcl64.cfg file for configuration information.

The libtcl*.cfg file determines whether the interfaces file or LDAP directory services should be used. If LDAP is specified in the libtcl*.cfg file, the interfaces file is ignored unless the application specifically overrides the libtcl*.cfg file by passing the -I parameter while connecting to a server.

libtcl.cfg is located in the SYBASE_home\OCS-12_5\ini directory.