This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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. (_/\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]