Linking with OpenSSL?
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.