5.3 Required Link Libraries
To build an application that uses the Secure Sockets Package of the Secure Communication Module, you must link to:
The Essential Tools Module library
The following package libraries from the Threads Module: Smart Pointer (
pointer), Synchronization (
sync), Thread-compatible Exceptions (
threxcept), and Execution Tracing (
trace)
The Secure Communication Module (
secsock) package library, and the Essential Networking Module (
network) package library.
The underlying cryptographic library (OpenSSL)
For specific information about linking to this library for static and dynamic builds, see the next two sections.
System libraries
5.3.1 Linking to OpenSSL on Windows
On Windows, the distributed import libraries are libeay32.lib and ssleay32.lib . Link to these libraries for both static and dynamic builds.
5.3.2 Linking to OpenSSL on UNIX
On UNIX, the distributed import libraries differ for static and dynamic builds:
For static builds, link to
libcrypto.a and
libssl.a For dynamic builds, link to
libcrypto.so and
libssl.so (or whatever extension your platform uses for shared objects).