This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: LD_LIBRARY_PATH & LD_RUN_PATH
- From: John Love-Jensen <eljay at adobe dot com>
- To: Brunda Sathi <bsathi at telcordia dot com>, <gcc-help at gcc dot gnu dot org>
- Date: Tue, 17 Dec 2002 09:38:09 -0600
- Subject: Re: LD_LIBRARY_PATH & LD_RUN_PATH
Hi Brunda,
I believe the linker doesn't look at LD_LIBRARY_PATH, so you'll need your -L
parameter. The loader looks at the LD_LIBRARY_PATH, not the linker.
However, with LD_LIBRARY_PATH set correctly, you needn't the -R parameter.
HTH,
--Eljay