Re: $path and /etc/ld.so.conf
- From: UX-admin <tripivceta@xxxxxxxxxxx>
- Date: Sat, 28 Jan 2006 15:25:36 +0100
Joseph Michaud wrote:
Ick. Hardcoded rpaths permanently fix the location of the DSOs used by the binary.
See rld(5), ld(1), and dso(5) man pages for information explaining LD_LIBRARY_PATH,
LD_LIBRARYN32_PATH, and LD_LIBRARY64_PATH.
Actually, the proper way to solve this on IRIX 6.5 is to compile with the -R<path-to-alt-lib-dir>, which doesn't hardcode the library PATH, but it does add a search PATH into the binary.
If the library is found sooner in another path, everything proceeds as it normally would. If not, the runtime linker will look in the alternate PATHs provided with the -R flag.
.
- Follow-Ups:
- Re: $path and /etc/ld.so.conf
- From: Tony 'Nicoya' Mantler
- Re: $path and /etc/ld.so.conf
- References:
- $path and /etc/ld.so.conf
- From: info
- Re: $path and /etc/ld.so.conf
- From: Thomas Jahns
- Re: $path and /etc/ld.so.conf
- From: Joseph Michaud
- $path and /etc/ld.so.conf
- Prev by Date: Re: $path and /etc/ld.so.conf
- Next by Date: Re: $path and /etc/ld.so.conf
- Previous by thread: Re: $path and /etc/ld.so.conf
- Next by thread: Re: $path and /etc/ld.so.conf
- Index(es):
Relevant Pages
|
|