Subject: Re: static vs. dynamic runtime linking, and silly 'ld -L' breakage
To: Jaromir Dolecek <jdolecek@NetBSD.org>
From: Greywolf <greywolf@starwolf.com>
List: tech-userlevel
Date: 01/30/2005 15:03:52
[Thus spake Jaromir Dolecek ("JD: ") Yesterday...]
JD: In order to work in POLA fashion, the path specified in LD_LIBRARY_PATH
JD: or ld.so.conf must be searched first...
I think that POLA would be
- if compiled-in path is absolute, use it; otherwise,
- if LD_LIBRARY_PATH is present, search it; otherwise,
- if ld.so.conf is present, use it; otherwise,
- you built it wrong and are SOL...er, I mean, use a compiler-
build-time "sane" default.
--*greywolf;
--
Have A Nice Day. (not valid in AK, AL, AR, FL, GA, IA, ID, IL, KS, KY, LA,
MO, MS, MT, NB, NC, ND, OH, OK, SC, SD, TN, TX, VA, WV or Iraq.)