On Thu, Mar 18, 2004 at 10:11:40AM +0100, Nils O. Sel?sdal wrote:
On Thu, 2004-03-18 at 10:00, Roland McGrath wrote:
> Earlier in the day I was moved by the plight of a developer trying to
> figure out exactly how his rpm postinstall/postuninstall scripts should
> edit /etc/ld.so.conf for the directories they install libraries in.
> I think a good answer is that they shouldn't have to do that.
>
> I just implemented an `include' feature with globbing in ldconfig's
> configuration file parsing. (This will be in an unspecified future glibc
> rpm coming to you in rawhide in the fullness of time.) I propose that in
> future the canonical /etc/ld.so.conf contain just:
>
> include ld.so.conf.d/*.conf
imho people should use rpath if they need to install libraries in non
standard locations..
For rarely used dirs yes, but do you suggest that 50% of all libraries in
the system have RPATH /usr/X11R6/lib? That would be very bad, both
performance-wise and unless it is RUNPATH, also non-overridable through
environment. Qt/KDE are on the same boat as Xorg.
Jakub