Bug 144967
Summary: | /etc/ld.so.conf missing /usr/local/{lib,lib64} entries | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Douglas Moyes <dbmoyes> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | CC: | bennet, fweimer, ppisar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-01-13 09:53:06 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Douglas Moyes
2005-01-13 02:04:13 UTC
That's on purpose. There used to be many problems with obsolete stale libraries in /usr/local/lib* that confused many people. If you install shared libraries into /usr/local/lib*/ that you want to use, echo /usr/local/lib > /etc/ld.so.conf.d/local.conf in addition to that /sbin/ldconfig you want to run anyway is not that much trouble and you are saying with that it is intentional that ld.so.cache should contain those libraries. Any chance Fedora might add a small RPM that simply creates the /usr/local/lib{,64} directories and an appropriate /etc/ld.so.conf.d/local.conf? The distro itself would presumably not use it or install it by default, but it would be available and part of all the repositories for use by us nostalgia buffs, reactionaries and other rif-raf. Having a distro RPM would help assure the directory would be added in a standard way when needed, avoid install scripts having to test the loader config (and disagree on the answer: is /usr/local/lib specified in /etc/ld.so.conf, or /etc/ld.so.conf.d? If the later, what's it's name?). Also make a nice dependence for local or site RPMs that want to put libraries there. If /usr/local/lib* is dangerous, then why we keep /usr/local/bin in PATH? It's the same class of problems. Now Fedora is neither /usr/local-free, neither /usr/local-capable. It's really confusing that "./configure && make && make install" makes the scripts available, but not libraries. |