000021663 - How to create shared library using RSA BSAFE Cert-C

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 Number000021663
Applies ToRSA BSAFE Cert-C 2.0
RSA BSAFE Cert-C 1.x
HP-UX
Sun Solaris
IssueHow to create shared library using RSA BSAFE Cert-C
Error: "Shared library must be position independent. Use +z or +Z to recompile." in RSA BSAFE Cert-C
CauseRSA BSAFE Cert-C contains a Codebase library that on HP and Solaris platforms was not compiled using either the +z or +Z flag when compiled.  This causes an error when trying build a shared library that uses Cert-C objects.  Object code which is pulled into a shared library must be position-independent code.  
ResolutionThis bug is fixed beginning with RSA BSAFE Cert-C 2.0.1; to correct this issue, upgrade to the latest version of BSAFE Cert-C, whose API is now designed to be backward-compatible with older versions. At a minimum, all you need to do to upgrade is recompile using the new object library and headers.
Legacy Article IDa3414

Attachments

    Outcomes