Bug#169820: libc6: ld.so.conf does not include /usr/local/lib/
reassign 169820 ldso
thanks
At Tue, 19 Nov 2002 16:51:53 -0600,
Warren Turkal wrote:
>
> Package: libc6
> Version: 2.3.1-5
> Severity: wishlist
>
> ld.so.conf should probably by default have /usr/local/lib/ in it so that
> installing local packages that have libraries will work without special
> configuration to find there libs.
debian policy says:
9.1.1. `ldconfig'
-----------------
Any package installing shared libraries in one of the default library
directories of the dynamic linker (which are currently `/usr/lib' and
`/lib') or a directory that is listed in `/etc/ld.so.conf'[1] must use
`ldconfig' to update the shared library system.
The package must call `ldconfig' in the `postinst' script if the first
argument is `configure'; the `postinst' script may optionally invoke
`ldconfig' at other times. The package should call `ldconfig' in the
`postrm' script if the first argument is `remove'. The maintainer
scripts must not invoke `ldconfig' under any circumstances other than
those described in this paragraph.[2]
[1] These are currently
* /usr/X11R6/lib/Xaw3d
* /usr/local/lib
* /usr/lib/libc5-compat
* /lib/libc5-compat
* /usr/X11R6/lib
So your wish is proper if we simply conform to debian-policy.
However, changelog.Debian in ldso says:
* Removed /usr/local/lib from the default /etc/ld.so.conf
for Debian (Bug#8181).
I couldn't search #8181 from the bug tracking system.
Actually glibc does not touch /etc/ld.so.conf. From this changelog, I
didn't get the reason why it was removed, in addition why
debian-policy says /usr/local/lib is needed. So I reassign it to ldso
package. I think David Engel <david@debian.org> can teach us the
reason... I guess changing debian policy is needed.
Regards,
-- gotom
Reply to: