* FW: shared library loading another shared library
@ 2003-02-27 12:50 Ajay Bansal
2003-02-27 13:10 ` Bharathi S
0 siblings, 1 reply; 2+ messages in thread
From: Ajay Bansal @ 2003-02-27 12:50 UTC (permalink / raw)
To: gcc-help
Hi All
I have an application in which my code is getting linked with one of the
shared libraries which is there in -L <path>. This shared library gets
linked properly during linking. This shared library is further linked
with another shared library. But the second library is not getting
linked.
I get an error in linking. How can I link to this second library.
It is written in the man page that we can use -rpath for this. But it is
also written that using rpath option will ignore -L option.
How should I load this second library now?
-Ajay
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: shared library loading another shared library
2003-02-27 12:50 FW: shared library loading another shared library Ajay Bansal
@ 2003-02-27 13:10 ` Bharathi S
0 siblings, 0 replies; 2+ messages in thread
From: Bharathi S @ 2003-02-27 13:10 UTC (permalink / raw)
To: GNU GCC
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. (_/\
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-27 13:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-27 12:50 FW: shared library loading another shared library Ajay Bansal
2003-02-27 13:10 ` Bharathi S
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).