* LD_LIBRARY_PATH
@ 2007-10-30 2:02 Abhay Misra
2007-10-30 8:43 ` LD_LIBRARY_PATH Ian Lance Taylor
0 siblings, 1 reply; 4+ messages in thread
From: Abhay Misra @ 2007-10-30 2:02 UTC (permalink / raw)
To: gcc-help
Hi ,
I have been looking at http://linuxmafia.com/faq/Admin/ld-lib-path.html
& the Linux man pages. I am just trying to work out if
LD_LIBRARY_PATH is used at link time or not. I have been told that it
is only used at run time, however if I set it and try to link some of
the link errors seem to resolve themselves. Can some one please
clarify whether or not LD_LIBRARY_PATH is used at both at link and run
time.
Thx
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: LD_LIBRARY_PATH
2007-10-30 2:02 LD_LIBRARY_PATH Abhay Misra
@ 2007-10-30 8:43 ` Ian Lance Taylor
0 siblings, 0 replies; 4+ messages in thread
From: Ian Lance Taylor @ 2007-10-30 8:43 UTC (permalink / raw)
To: Abhay Misra; +Cc: gcc-help
"Abhay Misra" <0infinity0@gmail.com> writes:
> I have been looking at http://linuxmafia.com/faq/Admin/ld-lib-path.html
> & the Linux man pages. I am just trying to work out if
> LD_LIBRARY_PATH is used at link time or not. I have been told that it
> is only used at run time, however if I set it and try to link some of
> the link errors seem to resolve themselves. Can some one please
> clarify whether or not LD_LIBRARY_PATH is used at both at link and run
> time.
When doing a native link, LD_LIBRARY_PATH will be used at link time to
help find shared libaries which are referenced by other shared
libraries directly included in the link. That is, for a native
linker, LD_LIBRARY_PATH will supply a value for the -rpath-link
option, q.v.
Ian
^ permalink raw reply [flat|nested] 4+ messages in thread
* LD_LIBRARY_PATH
@ 2003-11-18 10:13 Bansidhar Arvind Deshpande - CTD, Chennai.
2003-11-18 10:30 ` LD_LIBRARY_PATH Bharathi S
0 siblings, 1 reply; 4+ messages in thread
From: Bansidhar Arvind Deshpande - CTD, Chennai. @ 2003-11-18 10:13 UTC (permalink / raw)
To: gcc-help
Hi,
I am working on Redhat linux 7.3. I would like to know in which paths
by-default .so files
are searched even though the LD_LIBRARY_PATH is not specified ?
Thanks,
Bansidhar
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: LD_LIBRARY_PATH
2003-11-18 10:13 LD_LIBRARY_PATH Bansidhar Arvind Deshpande - CTD, Chennai.
@ 2003-11-18 10:30 ` Bharathi S
0 siblings, 0 replies; 4+ messages in thread
From: Bharathi S @ 2003-11-18 10:30 UTC (permalink / raw)
To: Bansidhar Arvind Deshpande - CTD, Chennai.; +Cc: GNU GCC
On Tue, 18 Nov 2003, Bansidhar Arvind Deshpande - CTD, Chennai. wrote:
> I am working on Redhat linux 7.3. I would like to know in which
> paths by-default .so files are searched even though the
> LD_LIBRARY_PATH is not specified ?
ldconfig -v
/etc/ld.so.conf
man ld.so
HTH :)
--
Bharathi S, IndLinuX Team, (__)
DON Lab, TeNeT Group, oo )
IIT-Madras, Chennai-INDIA. (_/\
Email is not private. It never has been, it never will.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-10-30 4:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-30 2:02 LD_LIBRARY_PATH Abhay Misra
2007-10-30 8:43 ` LD_LIBRARY_PATH Ian Lance Taylor
-- strict thread matches above, loose matches on Subject: below --
2003-11-18 10:13 LD_LIBRARY_PATH Bansidhar Arvind Deshpande - CTD, Chennai.
2003-11-18 10:30 ` LD_LIBRARY_PATH 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).