Nonstop Database, HiRDB Version 9 UAP Development Guide

[Contents][Index][Back][Next]

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)

Platform Multi- connection facility Library name
Shared library file Archive file
HP-UX 11.0
HP-UX 11i
HP-UX 11i V2 (PA-RISC)
Used

For a single thread:
libzclts.sl

For a single thread in 64-bit mode:
libzcltk64.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 a single thread in 64-bit mode:
libcltk64.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)
HP-UX 11i V3 (IPF)
Used

For a single thread:
libzclts.so

For a single thread in 64-bit mode:
libzclts64.so

For multiple threads (kernel threads):
libzcltk.so

For 64-bit mode multiple threads (kernel threads):
libzcltk64.so
--
Not used

For 32-bit mode:
libzclt.so

For 64-bit mode:
libzclt64.so
--
Solaris Used

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-bit mode 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 Used

For a single thread:
libzclts.a

For a single thread in 64-bit mode:
libzcltk64.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 a single thread in 64-bit mode:
libcltk64.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
Linux Used

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 used libzclt.so libclt.a
Linux (EM64T) Used

For a single thread:
libzclts.so

For a single thread in 64-bit mode:
libzcltk64.so

For multiple threads (POSIX threads):
libzcltk.so

For 64-bit mode multiple threads (POSIX threads):
libzcltk64.so
--
Not used

For 32-bit mode:
libzclt.so

For 64-bit mode:
libzclt64.so
--
Windows Used PDCLTM32.LIB
PDCLTM71.LIB
PDCLTM80S.LIB
PDCLTM90S.LIB#
--
Not used CLTDLL.LIB
PDCLTM71.LIB
PDCLTM80S.LIB
PDCLTM90S.LIB#
--
Windows (IPF) Used PDCLTM64.LIB --
Not used PDCLTM64.LIB --
Windows (x64) Used

For 32-bit mode:
PDCLTM80S.LIB
PDCLTM90S.LIB#

For 64-bit mode:
PDCLTM64.LIB
PDCLTM90S64.LIB#
--
Not used

For 32-bit mode:
PDCLTM80S.LIB
PDCLTM90S.LIB#

For 64-bit mode:
PDCLTM64.LIB
PDCLTM90S64.LIB#
--

Legend:
--: Not applicable

#
Created only for an XDS client.

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

Platform Transaction registration method Library name
Shared library file Archive file
HP-UX 11.0
HP-UX 11i
HP-UX 11i V2 (PA-RISC)
Dynamic registration

For a single thread:
libzcltx.sl
libzcltxs.sl (for multiple connections)

For multiple threads (kernel threads):
libzcltxk.sl

For a single thread:
libcltxa.a
libcltxas.a (for multiple connections)

For multiple threads (kernel threads):
libcltxak.a
Dynamic or static registration

For a single thread:
libzclty.sl
libzcltys.sl (for multiple connections)

For multiple threads (kernel threads):
libzcltyk.sl

For a single thread:
libcltya.a
libcltyas.a (for multiple connections)

For multiple threads (kernel thread):
libcltyak.a
HP-UX 11i V2 (IPF)
HP-UX 11i V3 (IPF)
Dynamic registration

For a single thread:
libzcltx.so
libzcltxs.so (for multiple connections)
--
Dynamic registration or static registration

For a single thread:
libzclty.so
libzcltys.so (for multiple connections)

For a 64-bit mode single thread (kernel threads):
libzclty64.so
libzcltys64.so (for multiple connections)

For 64-bit mode multiple threads (kernel threads):
libzcltyk64.so
--
Solaris Dynamic registration

For a single thread:
libzcltx.so
libzcltxs.so (for multiple connections)

For multiple threads (Solaris threads):
libzcltxk.so

For a single thread:
libcltxa.a
libcltxas.a (for multiple connections)

For multiple threads (Solaris threads):
libcltxak.a
Dynamic or static registration

For a single thread:
libzclty.so
libzcltys.so (for multiple connections)

For multiple threads (Solaris threads):
libzcltyk.so

For a single thread:
libcltya.a
libcltyas.a (for multiple connections)

For multiple threads (Solaris threads):
libcltyak.a
AIX Dynamic registration

For a single thread:
libzcltx.a
libzcltxs.a (for multiple connections)

For multiple threads (POSIX threads):
libzcltxk.a

For a single thread:
libcltxa.a
libcltxas.a (for multiple connections)

For multiple threads (POSIX threads):
libcltxak.a
Dynamic or static registration

For a single thread:
libzclty.a
libzcltys.a (for multiple connections)

For a single thread in 64-bit mode:
libzclty64.a
libzcltys64.a (for multiple connections)

For multiple threads (POSIX threads):
libzcltyk.a

For a single thread:
libcltya.a
libcltyas.a (for multiple connections)

For multiple threads (POSIX threads):
libcltyak.a
Linux Dynamic registration

For a single thread:
libzcltx.so
libzcltxs.so (for multiple connections)

For multiple threads (POSIX threads):
libzcltxk.so

For a single thread:
libcltxa.a
libcltxas.a (for multiple connections)

For multiple threads (POSIX threads):
libcltxak.a
Dynamic or static registration

For a single thread:
libzclty.so
libzcltys.so (for multiple connections)

For multiple threads (POSIX threads):
libzcltyk.so

For a single thread:
libcltya.a
Linux (EM64T) Dynamic registration

For a single thread:
libzcltx.so
libzcltxs.so (for multiple connections)

For multiple threads (POSIX threads):
libzcltxk.so
--
Dynamic registration or static registration

For a single thread:
libzclty.so
libzcltys.so (for multiple connections)

For a 64-bit mode single thread (kernel threads):
libzclty64.so
libzcltys64.so (for multiple connections)

For multiple threads (POSIX threads):
libzcltyk.so

For 64-bit mode multiple threads (POSIX threads):
libzcltyk64.so
--
Windows Dynamic registration -- --
Dynamic or static registration

For a single thread:
PDCLTX32.LIB
PDCLTXS.LIB (for multiple connections)

For multiple threads:
PDCLTXM.LIB
--
Windows (IPF) Dynamic registration -- --
Dynamic registration or static registration

For a single thread:
PDCLTX64.LIB
PDCLTXS64.LIB (for multiple connections)

For multiple threads:
PDCLTXM64.LIB
--
Windows (x64) Dynamic registration -- --
Dynamic registration or static registration

For a single thread:
PDCLTX32.LIB
PDCLTXS.LIB (for OTS)

For multiple threads:
PDCLTXM.LIB
--

Legend:
--: 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 9 Installation and Design Guide.