Subject: Re: Why do I need to add an entry into ld.so.conf?
To: None <port-i386@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
Date: 03/24/2005 17:20:19
>> There is no reason we couldn't have chosen to, for example, default
>> the -R path to be identical to the -L path if no run path is given.
> See http://www.science.uva.nl/pub/solaris/solaris2/Q6.8.html
Those are reasons to do the defaulting more intelligently, not reasons
to avoid doing it at all.
For example, you might suppress this defaulting if LD_RUN_PATH is set.
You might omit relative paths, or warn if any are present, or some
You certainly could, at the very least, warn if things are such that
immediately executing the resulting binary would fail for inability to
find some shared library. (Naturally, there should be an option to
suppress the warning.)
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML email@example.com
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B