Compiling and Linking > Rogue Wave DB Link Libraries
 
Rogue Wave DB Link Libraries
This section provides a table of the Rogue Wave® DB Link libraries and draws your attention to the special make files supplied to enable you to rebuild dynamically-loadable drivers. It is divided as follows:
*Library Names
*Building Dynamically-Loadable Drivers under UNIX
Library Names
Table 7.3 provides the names of Rogue Wave DB Link libraries. These names have been stripped of their suffix. The suffix depends on the operating system and compilation mode. It can be one of:
*.a,
*.so,
*.sl,
*.lib, or
*.dll.
Rogue Wave DB Link Libraries
RDBMS
UNIX® Name
Windows® Name
Rogue Wave DB Link driver manager
libdbkernel
dbkernel
Static Load Mode
libdblnkst
dblnkst
Dynamic load mode
libdblnkdyn
dblnkdyn
DB2
libdbdb2
dbdb2
DB2
libdbdb29x
dbdb29x
Informix
libdbinf9
dbinf9
Microsoft® SQL Server®
dbmssql
Oracle MySQL
libdbmysql
dbmysql
ODBC
dbodbc
OLE-DB (for Microsoft SQL Server)
dboledb
Oracle v9i
libdbora9
dbora9
Oracle v10g
libdbora10
dbora10
Oracle v11g
libdbora11
dbora11
Sybase
libctsyb
ctsyb
Notes:
The Microsoft SQL Server library dbmssql is deprecated and should not be used; use the OLE-DB library instead. The Microsoft SQL Server library is not supported on 64-bit platforms.
Building Dynamically-Loadable Drivers under UNIX
The delivery includes special makefiles to rebuild the dynamically-loadable drivers. These files are named Makefile.drv.
For all ports, these files use variables to locate the RDBMS client libraries. These variables follow the UNIX® convention of each RDBMS:
*DB2DIR for DB2
*INFORMIXDIR for Informix
*ORACLE_HOME for Oracle
*SYBASE for Sybase
The delivery includes the object files needed to rebuild the drivers. These files are separated into two groups: the DB Link kernel files and the RDBMS-specific files. The DB Link kernel files are always the same but the RDBMS files change depending on the client libraries.
On UNIX ports, you need to set the value of RDBMS dedicated variables:
*INFLIBS for Informix
*ORALIBS for Oracle
*SYBLIBS for Sybase
For the AIX port, the driver build process uses a special script called makeC++SharedLib, which is part of the compiler distribution.
To build the drivers, the client libraries must be “sharable” libraries—that is, .so files on UNIX®. The only exception is AIX, under which drivers can be built even from .a library files. If your current version of the client software does not include this type of library, building the drivers is impossible.
Warning: Do not mix RDBMS-specific files for one version with client libraries for another; even though the drivers building process may succeed, the runtime behavior is unpredictable and usually results in a memory fault.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.