[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA: gschem rpath autoconf test
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
Am 25.01.2005 um 11:30 schrieb Hamish Moffatt:
> rpath is evil.
No, it is not.
> It prevents you from moving libraries without recompiling
> the programs that use it.
No, it does not. In fact, you can always use LD_LIBRARY_PATH or modify
your /etc/ld.so.conf.
> Debian has moved libraries before during big
> transitions; we moved all of the libc5-using libraries to
> /usr/i486-linuxlibc1/lib. If our programs were compiled with RPATH, we
> would have had to recompile all of those as well.
No, we would not have had to recompile the programs, even those with
RPATH.
> The Linux dynamic linker (ld.so) HAS a search path facility (with the
> path
> listed in /etc/ld.so.conf); USE IT.
rm does accept -rf and / as aruments. USE THEM.
> 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.
Yes, he is, but he should know, what featore to use for what purpose.
> I'm ok with an rpath option, either on or off by default.
> If it's stuck on, I'll have to hack it out and that'll just waste time.
As I wrote earlier, removing RPATH from an executalbe is a simple task.
Just a single byte has to be changed to 0.
73, Mario
- --
Mario Klebsch mario@klebsch.de
PGP-Key available at http://www.klebsch.de/public.key
Fingerprint DSS: EE7C DBCC D9C8 5DC1 D4DB 1483 30CE 9FB2 A047 9CE0
Diffie-Hellman: D447 4ED6 8A10 2C65 C5E5 8B98 9464 53FF 9382 F518
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFB9svSMM6fsqBHnOARAoq5AJ9F/6dcytksT+A1oDV8P1TqwiVkvQCeOOup
XhqqylI8gK4JKfVljtHzTyg=
=uPsT
-----END PGP SIGNATURE-----