From: Victor Forsyuk

Subject: Re: [uk-lnx] glibc was: Corel in Linux

Date: 2003-4-11 18:13

On Thu, Apr 10, 2003 at 04:54:16PM +0300, Volodymyr M. Lisivka wrote:
> > В чт, 10-кв╕-2003 16:49 Victor Forsyuk писали: >
> >> По перше не LD_LIBRARY_PATH (ця зм╕нна ма╓ ефект на стад╕╖ комп╕ляц╕╖ > >> програми, так само як ╕ DT_RUNPATH чи DT_RPATH), а LD_RUN_PATH.
> > > >Перев╕ряли? ;-)
> Н╕, вдома напишу програмку ╕ перев╕рю, завтра скажу.
Можу зберегти Вам час на написання програмки: LD_LIBRARY_PATH is an environment variable you set to give the run-time shared library loader (ld.so) an extra set of directories to look for when searching for shared libraries. Multiple directories can be listed, separated with a colon (:). This list is prepended to the existing list of compiled-in loader paths for a given executable, and any system default loader paths. ... Nowadays you specify the run-time path for an executable at link stage with the -R (or sometimes -rpath) flag to ld. There's also LD_RUN_PATH which is an environment variable which acts to ld just like specifying -R.