This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: shared library loading another shared library
- From: "Ajay Bansal" <Ajay_Bansal at infosys dot com>
- To: "Bharathi S" <bharathi at lantana dot TeNeT dot res dot in>,"GNU GCC" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 27 Feb 2003 18:50:17 +0530
- Subject: RE: shared library loading another shared library
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 at lantana dot TeNeT dot res dot 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. (_/\