[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA: gschem rpath autoconf test
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, Jan 25, 2005 at 09:30:36PM +1100, Hamish Moffatt wrote:
> The Linux dynamic linker (ld.so) HAS a search path facility (with the
> path listed in /etc/ld.so.conf); USE IT. That means if you install
> gEDA in /usr/local/geda, feel free to add /usr/local/geda/lib to
> /etc/ld.so.conf. That is a configuration file and the system
> administrator IS allowed to edit it.
And don't forget to run ldconfig after editing /etc/ld.so.conf,
otherwise everyone will say "the search facility is broken it doesn't
work so let's just use rpath instead" again.
And if you really can't edit /etc/ld.so.conf, as when you don't have
root access, *only* then put LD_LIBRARY_PATH=/home/fredfoobar/lib into
your environment.
IMHO rpath is almost as evil as static linking.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQFB9iSb/FmLrNfLpjMRAp0XAJ4prJCID4vjYsaMlKr/UyAI6rcY3QCgmYJr
p6mOSylxQsyGyTunnloqV6s=
=cuzq
-----END PGP SIGNATURE-----