problem with opening shared library using dlopen() in Red Hat Linux

kenneth kahn kenkahn@optonline.net
Tue Nov 15 00:24:00 GMT 2005


 >Right now I am porting an application from solaris to Linux.I am facing
 >a problem in opening a shared library with dlopen().The arguments
 >specified in solaris to this call are RTD_LAZY.It works fine in Solaris.
 >
 >But in Linux dlopen() gives an error in loading the shared object saying
 >that " undefined symbol:XXXXXX".

Bottom line is that the runtime loader, ld, that comes with Linux, which
is actually the GNU version of ld, does not support lazy load.  Trust me
I went through this and you'll have to think of another way.



More information about the Gcc-help mailing list