Error Shared lib ??

bjorn rohde jensen
Fri May 10 02:45:00 GMT 2002

Hi guys,

 Perhaps dynamic linker loads a wrong shared object?
You might want to check, if the library, you are linking
to, is also the one, the dynamic linker actually loads.
 I have not had any problems using relative paths with
dlopen on linux, are you quite sure, there is a problem?

Yours sincerely,


Bharathi S wrote:
> On Thu, 9 May 2002, Venkatakrishnan, V wrote:
> > Bharathi, how are you loading it?  Using dlopen?  If yes, then one thing
> > that I've noticed is that dlopen() does not take a relative path but only an
> > absolute one, so you would wanna say
> > Lib_handle=dlopen("/path1/path2/path3/",RTLD_LAZY); instead of
> > maybe
> > Lib_handle=dlopen("../../",RTLD_LAZY);
> Thank you,
>     NO. I am not trying to load the lib.
>     I am calling the lib function, Just
>     how we call our the local function.
> Bye,
> --
> --==| Bharathi S | BSB-364 DONLab | IIT-Madras |==--
> Good friendship shines like waxing moon,
> The bad withers like waning moon.
> *In Tirukkural of Holy Tamil poet Tiruvalluvar.

More information about the Gcc-help mailing list