hi,
I am facing a problem related to ld (linker directive) on RH Linux AS 3.
Functionality: We are using OHS (Oracle HTTP Server), which loads our shared library module, consider A.so. This A.so has dependancy on some LDAP SDK .so modules. These are mozilla LDAP SDK libraries we use to do LDAP related xsactions. Also OHS has its own LDAP SDK libraries and it loads these libraries and symbols globally.
problem: When we do some LDAP related transaction through Web-browser, our modules calls mozilla LDAP SDK for DS connectivity. This is as expected. But mozilla LDAP SDK is failing to invoke correct routine internally. It calls OHS LDAP routines as it finds them defined globally. So we want to resolve mozilla LDAP calls internally w/o going into OHS.
We are doing this for both Linux and Solaris. For Solaris we have resolved the problem by linking mozilla LDAP SDK libraries with -B direct linker option. This way all LDAP calls are resolving internallywithin mozilla libraries. But problem still exist with Linux as I couldnt find -B direct linker option for ld.
If I use static libraries to generate A.so, ofcourse it resolves the issue. But I want to use mozilla LDAP shared libraries.
Is there any compatible option on Linux like -B direct?
-mandar