Precompilers and OCI (MOSC)

MOSC Banner

Linking with OpenSSL?

edited Feb 28, 2011 5:20AM in Precompilers and OCI (MOSC) 5 commentsAnswered

Has anyone attempted to link an application with both OpenSSL and Oracle libraries in the same executable?
When I attempted this with client libraries for Oracle 11.1.0.7, I started encountering symbol name collisions that led to various kinds of errors at runtime like Signal 4, Signal 10, etc.  For example, both OpenSSL's libcrypto.so and Oracle's libnnz11.so export symbols with the same names "BN_new" and "BN_mod_exp" (there are many more examples).  I observed this on AIX 6.1.

When I looked at Oracle 11.2 libraries (on Solaris 10), it appears that at least some of these functions have been renamed in the Oracle libraries.  Now I see names like "cryptoCint_BN_new" and "cryptoCint_BN_mod_exp".  What I'm trying to figure out is if Oracle has deliberately renamed all of the functions that had collisions with OpenSSL in 11.2, or if there might still be symbols in various libraries that collide with the symbols in OpenSSL.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center