Link These Library Files
EMS C programs must link the appropriate library files. Choose from the appropriate table based on operating system platform.
32-Bit UNIX
In 32-bit UNIX environments, both shared and static libraries are available. We recommend shared libraries to ease forward migration.
Table 2 Linker Flags for 32-Bit UNIX
Linker Flag
|
Description
|
-ltibems
|
All programs must link using this library flag.
|
-lssl
-lcrypto
|
Programs that use SSL must link using these library flags.
|
-lz
|
Programs that use compression must link using this library flag.
|
-ltibemslookup
-ldap
-llber
-ltibjms
|
Programs that use EMS LDAP lookup must link using these library flags.
|
64-Bit UNIX
In 64-bit UNIX environments, both shared and static libraries are available. We recommend shared libraries to ease forward migration. In this release, 64-bit libraries are available on HP-UX, Solaris, AIX and Linux (2.4 glibc 2.3) platforms.
To use 64-bit libraries, you must include EMS_install_dir
/clients/c/lib/64
in your library path, and it must precede any other EMS directory in the library path.
Table 3 Linker Flags for 64-Bit UNIX (Sheet 1 of 2)
Linker Flag
|
Description
|
-ltibems64
|
All programs must link using this library flag.
|
-lssl64
-lcrypto64
|
Programs that use SSL must link using these library flags.
|
-lz64
|
Programs that use compression must link using this library flag.
|
-ltibemslookup64
-ldap64
-llber64
-ltibjms64
|
Programs that use EMS LDAP lookup must link using these library flags.
|
Microsoft Windows
For a list of Windows platforms that Release 4.3 supports, see the file readme.txt
in the installation directory.
Both DLLs and static libraries are available. We recommend DLLs to ease forward migration.
Table 4 Dynamic Library Files for Microsoft Windows
Library File
|
Description
|
With dynamic libraries (DLLs), use the /MT compiler option.
|
tibems.lib
ws2_32.lib
|
All programs must link these libraries.
|
libtibemslookup.lib
|
Programs that use EMS LDAP lookup must link this library.
|
liboldap32.lib olber32.lib
libldap32_d.lib liblber32_d.lib
|
In addition, programs that use EMS lookup must link one of these pairs of libraries.
|
Table 5 Static Library Files for Microsoft Windows
Library File
|
Description
|
With static libraries (DLLs), use the /MD compiler option.
|
libtibems.lib
ws2_32.lib
ssleay32mt.lib
libeay32mt.lib
zlib.lib
|
All programs must link these libraries.
|
libtibemslookup.lib
|
Programs that use EMS LDAP lookup must link this library.
|
liboldap32.lib olber32.lib
libldap32_d.lib liblber32_d.lib
|
In addition, programs that use EMS lookup must link one of these pairs of libraries.
|
OpenVMS
In OpenVMS environments, both shared and static libraries are available. We recommend shared libraries to ease forward migration.
Table 6 Shareable Image Library Files for OpenVMS
Library File
|
Description
|
LIBTIBEMSSHR.EXE
|
All programs must link this library.
|
LIBTIBEMSLOOKUPSHR.EXE
LIBLDAPSHR.EXE
LIBLBERSHR.EXE
LIBXMLSHR.EXE
|
Programs that use EMS LDAP lookup must link these libraries.
|
LIBCRYPTOSHR.EXE
LIBSSLSHR.EXE
|
Programs that use SSL must link these libraries.
|
LIBZSHR.EXE
|
Programs that use data compression must link this library.
|
Table 7 Static Library Files for OpenVMS
Library File
|
Description
|
LIBTIBEMS.OLB
|
All programs must link this library.
|
LIBTIBEMSLOOKUP.OLB
LIBLDAP.OLB
LIBLBER.OLB
LIBXML.OLB
|
Programs that use EMS LDAP lookup must link these libraries.
|
LIBCRYPTO.OLB
LIBSSL.OLB
|
Programs that use SSL must link these libraries.
|
LIBZ.OLB
|
Programs that use data compression must link this library.
|
TIBCO Enterprise Message Service™ C and COBOL Reference
System Release 4.3,
February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com
|