000021477 - How to build a WAX for Apache 2

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000021477
Applies ToRSA ClearTrust Agent 4.6 Web Agent Extension (WAX) API
WAX API
Sun Solaris 2.8
IssueHow to build a WAX for Apache 2
Attempting to link WAX shared object using the recommendations in the Developer's Guide results in an Undefined symbol in file:

ct_table_put
ct_req_table_keys
ct_print
ResolutionIn the Compiling and Linking a WAX Program, there is a section headed Compiling for Apache/IBM HTTP Server on UNIX. This section should have an additional line that reads as follows:

    Additional libraries: libct_apache2_agent.so

For example, a compilation might look like the following:

gcc -DAPACHE -DFILE_UNIX -DXP_UNIX -o wax.so wax.c -I/opt/ctrust/agent/agent-apache2-46/include -I/usr/local/apache2/include
-L/opt/ctrust/agent/agent-apache2-46/lib -lct_apache2_agent -shared -fPIC -Wl,-Bsymbolic
Legacy Article IDa23094

Attachments

    Outcomes