[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] new -no-rpath option to disable hardcoding of library paths
From: |
Alexandre Oliva |
Subject: |
Re: [PATCH] new -no-rpath option to disable hardcoding of library paths |
Date: |
09 Apr 2004 06:29:02 -0300 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
On Nov 3, 2003, Scott James Remnant <address@hidden> wrote:
> + * m4/libtool.m4: Add new -no-rpath option that disables hardcoding
> + of library paths into libraries or executables.
FWIW, I liked this better than parsing ld.so.conf. The reason is
that, when you build with -no-rpath, you get what you ask for, i.e.,
you know you're likely going to have to set LD_LIBRARY_PATH or tweak
ld.so.conf to run the application, but if you happen to have lots of
directories in ld.so.conf and build a program and/or libs that are in
one of those dirs, but they turn out to not be in there on someone
else's box, your program just won't run there without LD_LIBRARY_PATH,
and it may be hard to find out why.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer address@hidden, gcc.gnu.org}
Free Software Evangelist address@hidden, gnu.org}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] new -no-rpath option to disable hardcoding of library paths,
Alexandre Oliva <=