[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#519941: 10.2 Libraries recommends use of /etc/ld.so.conf instead of /etc/ld.so.conf.d



Package: debian-policy
Severity: normal

Hi,

Debian policy 10.2 Libraries says:

| Packages containing shared libraries that may be linked to by other
| packages' binaries, but which for some compelling reason can not be
| installed in /usr/lib directory, may install the shared library files
| in subdirectories of the /usr/lib directory, in which case they should
| arrange to add that directory in /etc/ld.so.conf in the package's
| post-installation script, and remove it in the package's post-removal
| script.

I believe this should be changed to dropping a file into
/etc/ld.so.conf.d instead. Giving a policy for the filename might be a
good idea too so there won't be conflicts. How about
/etc/ld.so.conf/<package>.conf?

MfG
	Goswin

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (400, 'unstable-i386'), (1, 'experimental-i386'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-xen-1 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash



Reply to: