shared library loading another shared library

P.Srihari srihari.par@wipro.com
Thu Feb 27 13:30:00 GMT 2003


do export LD_LIBRARY_PATH=path where ur libraries are to be found

Ajay Bansal wrote:
> 
> Nops.. It doesn't get solved this way.
> 
> Say libs are
> 
> libl1
> libl2
> 
> ldd libl1
> .
> .
> libl2 => .....
> 
> If my app links to lib1, lib2 is not being automatically found. Though
> both are in the same directory...
> 
> ???
> 
> -----Original Message-----
> From: Bharathi S [mailto:bharathi@lantana.TeNeT.res.in]
> Sent: Thursday, February 27, 2003 6:39 PM
> To: GNU GCC
> Subject: Re: shared library loading another shared library
> 
> On Thu, 27 Feb 2003, Ajay Bansal wrote:
> 
> > I get an error in linking. How can I link to this second library.
> 
>    Use 2 or more -L options Like  -L/path/lib1 -L/path/lib2 ...
> 
> HTH :)
> --
> Bharathi S, IndLinuX Team, (__)
> DONLab,     TeNeT Group,   oo /
> IIT-Madras, Chennai-INDIA. (_/\
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Wipro_Disclaimer.txt
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20030227/c238b056/attachment-0001.txt>


More information about the Gcc-help mailing list