Bug 176316
| Summary: | ld.so isn't looking outside of /lib and /usr/lib for libraries | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Brian Gerst <brgerst> |
| Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
| Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | jlee, orion |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 2.3.90-22 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-12-21 14:35:42 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 176366 | ||
|
Description
Brian Gerst
2005-12-21 10:45:18 UTC
On FC4:
$ LD_DEBUG=libs /bin/echo
11933: find library=libc.so.6 [0]; searching
11933: search cache=/etc/ld.so.cache
11933: trying file=/lib/libc.so.6
11933:
11933:
11933: prelink checking: ok
11933:
11933: calling init: /lib/libc.so.6
11933:
11933:
11933: initialize program: /bin/echo
11933:
11933:
11933: transferring control: /bin/echo
11933:
11933:
11933: calling fini: /bin/echo [0]
11933:
11933:
11933: calling fini: /lib/libc.so.6 [0]
11933:
On Rawhide:
$ LD_DEBUG=libs /bin/echo
6363: find library=libc.so.6 [0]; searching
6363: search cache=/etc/ld.so.cache
6363: search
path=/lib64/tls/x86_64:/lib64/tls:/lib64/x86_64:/lib64:/usr/lib64/tls/x86_64:/usr/lib64/tls:/usr/lib64/x86_64:/usr/lib64
(system search path)
6363: trying file=/lib64/tls/x86_64/libc.so.6
6363: trying file=/lib64/tls/libc.so.6
6363: trying file=/lib64/x86_64/libc.so.6
6363: trying file=/lib64/libc.so.6
6363:
6363:
6363: prelink checking: failed
6363:
6363: calling init: /lib64/libc.so.6
6363:
6363:
6363: initialize program: /bin/echo
6363:
6363:
6363: transferring control: /bin/echo
6363:
6363:
6363: calling fini: /bin/echo [0]
6363:
6363:
6363: calling fini: /lib64/libc.so.6 [0]
6363:
Note how rawhide skips the cache and uses the system search path to find the libs.
Should be fixed in glibc-2.3.90-22. *** Bug 176354 has been marked as a duplicate of this bug. *** *** Bug 176353 has been marked as a duplicate of this bug. *** |