8.3.1 Libraries for compiling and linking

When executing compiling and linking, specify a library provided by HiRDB. Tables 8-15 and 8-16 show the libraries to be specified for compiling and linking.

Table 8-15 Libraries to be specified for compiling and linking (in non-OLTP environment)

PlatformMulti- connection facilityLibrary name
Shared library fileArchive file
HP-UX 11.0Used
For a single thread:
libzclts.sl
For multiple threads (DCE threads):
libzcltm.sl
For multiple threads (kernel threads):
libzcltk.sl
For 64-bit mode multiple threads (kernel threads):
libzcltk64.sl
For a single thread:
libclts.a
For multiple threads (DCE threads):
libcltm.a
For multiple threads (kernel threads):
libcltk.a
For 64-bit mode multiple threads (kernel threads):
libcltk64.a
Not used
For 32-bit mode:
libzclt.sl
For 64-bit mode:
libzclt64.sl
For 32-bit mode:
libclt.a
For 64-bit mode:
libclt64.a
HP-UX 11i V2 (IPF)Used
For a single thread:
libzclts.so
For multiple threads (kernel threads):
libzcltk.so
For 64-bit mode multiple threads (kernel threads):
libzcltk64.so
[Figure]
Not used
For 32-bit mode:
libzclt.so
For 64-bit mode:
libzclt64.so
[Figure]
SolarisUsed
For a single thread:
libzclts.so
For multiple threads (Solaris threads):
libzcltk.so
libzcltm.so
For 64-bit mode multiple threads (Solaris threads):
libzcltk64.so
For a single thread:
libclts.a
For multiple threads (Solaris threads):
libcltk.a
libcltm.a
For 64-bitmode multiple threads (Solaris threads):
libcltk64.a
Not used
For 32-bit mode:
libzclt.so
For 64-bit mode:
libzclt64.so
For 32-bit mode:
libclt.a
For 64-bit mode:
libclt64.a
AIX 5LUsed
For a single thread:
libzclts.a
For multiple threads (POSIX threads):
libzcltk.a
For 64-bit mode multiple threads (POSIX threads):
libzcltk64.a
For a single thread:
libclts.a
For multiple threads (POSIX threads):
libcltk.a
For 64-bit mode multiple threads (POSIX threads):
libcltk64.a
Not used
For 32-bit mode:
libzclt.a
For 64-bit mode:
libzclt64.a
For 32-bit mode:
libclt.a
For 64-bit mode:
libclt64.a
LinuxUsed
For a single thread:
libzclts.so
For multiple threads (POSIX threads):
libzcltk.so
For a single thread:
libclts.a
For multiple threads (POSIX threads):
libcltk.a
Not usedlibzclt.solibclt.a
Linux (IPF)Used
For a single thread:
libzclts64.so
For multiple threads (POSIX threads):
libzcltk64.so
[Figure]
Not usedlibzclt64.so[Figure]
Linux (EM64T)Used
For a single thread:
libzclts.so
For multiple threads (POSIX threads):
libzcltk.so
For 64-bit mode multiple threads (POSIX threads):
libzcltk64.so
[Figure]
Not used
For 32-bit mode:
libzclt.so
For 64-bit mode:
libzclt64.so
[Figure]
WindowsUsedPDCLTM32.LIB[Figure]
Not usedCLTDLL.LIB[Figure]
Windows Server 2003 (IPF)UsedPDCLTM64.LIB[Figure]
Not usedPDCLTM64.LIB[Figure]
Windows (x64)Used
For 32-bit mode:
PDCLTM32.LIB
For 64-bit mode:
PDCLTM64.LIB
[Figure]
Not used
For 32-bit mode:
PDCLTM32.LIB
For 64-bit mode:
PDCLTM64.LIB
[Figure]
Legend:
[Figure]: Not applicable

Table 8-16 Libraries to be specified for compiling and linking (in OLTP environment)

PlatformTransaction registration methodLibrary name
Shared library fileArchive file
HP-UX 11.0Dynamic registration
For a single thread:
libzcltx.sl
libzcltxs.sl (for OTS)
For multiple threads (kernel threads):
libzcltxk.sl
For a single thread:
libcltxa.a
libzcltxas.a
For multiple threads (kernel threads):
libcltxak.a
Dynamic or static registration
For a single thread:
libzclty.sl
libzcltys.sl (for OTS)
For multiple threads (kernel threads):
libzcltyk.sl
For a single thread:
libcltya.a
libzcltyas.a
For multiple threads (kernel thread):
libcltyak.a
HP-UX 11i V2 (IPF)Dynamic registration
For a single thread:
libzcltx.so
libzcltxs.so (for OTS)
For multiple threads (kernel threads):
libzcltxk.so
For 64-bit mode multiple threads (kernel threads):
libzcltxk64.so
[Figure]
Dynamic registration or static registration
For a single thread:
libzclty.so
libzcltys.so (for OTS)
For a 64-bit mode single thread (kernel threads):
libzclty64.so
libzcltys.so (for OTS)
For multiple threads (kernel threads):
libzcltyk.so
For 64-bit mode multiple threads (kernel threads):
libzcltyk64.so
[Figure]
SolarisDynamic registration
For a single thread:
libzcltx.so
libzcltxs.so (for OTS)
For multiple threads (Solaris threads):
libzcltxk.so
For a single thread:
libcltxa.a
libcltxas.a (for OTS)
For multiple threads (Solaris threads):
libcltxak.a
Dynamic or static registration
For a single thread:
libzclty.so
libzcltys.so (for OTS)
For multiple threads (Solaris threads):
libzcltyk.so
For a single thread:
libcltya.a
libcltyas.a (for OTS)
For multiple threads (Solaris threads):
libcltyak.a
AIX 5LDynamic registration
For a single thread:
libzcltx.a
libzcltxs.a (for OTS)
For multiple threads (POSIX threads):
libzcltxk.a
For a single thread:
libcltxa.a
libcltxas.a (for OTS)
For multiple threads (POSIX threads):
libcltxak.a
Dynamic or static registrationlibzclty.a
libzcltys.a (for OTS)
libcltya.a
libcltyas.a (for OTS)
LinuxDynamic registrationlibzcltx.so
libzcltxs.so (for OTS)
libcltxa.a
libcltxas.a (for OTS)
Dynamic or static registrationlibzclty.so
libzcltys.so (for OTS)
libcltya.a
libcltyas.a (for OTS)
Linux (IPF)Dynamic registration
For a 64-bit mode single thread (kernel threads):
libzcltx64.so
libzcltxs64.so (for OTS)
For 64-bit mode multiple threads (POSIX threads):
libzcltxk64.so
[Figure]
Dynamic registration or static registration
For a 64-bit mode single thread (kernel threads):
libzclty64.so
libzcltys64.so
For 64-bit mode multiple threads (POSIX threads):
libzcltyk64.so
[Figure]
Linux (EM64T)Dynamic registration
For a single thread:
libzcltx.so
libzcltxs.so (for OTS)
For multiple threads (POSIX threads):
libzcltxk.so
[Figure]
Dynamic registration or static registration
For a single thread:
libzclty.so
libzcltys.so (for OTS)
For multiple threads (POSIX threads):
libzcltyk.so
[Figure]
WindowsDynamic registration[Figure][Figure]
Dynamic or static registration
For a single thread:
PDCLTX32.LIB
PDCLTXS.LIB (for OTS)
For multiple threads:
PDCLTXM.LIB
[Figure]
Windows Server 2003 (IPF)Dynamic registration[Figure][Figure]
Dynamic registration or static registration
For a single thread:
PDCLTX64.LIB
PDCLTXS64.LIB (for OTS)
For multiple threads:
PDCLTXM64.LIB
[Figure]
Windows (x64)Dynamic registration[Figure][Figure]
Dynamic registration or static registration
For a single thread:
PDCLTX32.LIB
PDCLTXS.LIB (for OTS)
For multiple threads:
PDCLTXM.LIB
[Figure]
Legend:
[Figure]: Not applicable
Note
For details about dynamic registration and static registration, see the description of methods for registering HiRDB to the transaction manager in the HiRDB Version 8 Installation and Design Guide.