| Anonymous | Login | Signup for a new account | 11-10-2008 12:58 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0005314 | [uClibc] Shared Library Support | feature | always | 10-08-08 10:51 | 10-12-08 13:44 | |||||||
| Reporter | chrisz | View Status | public | |||||||||
| Assigned To | uClibc | |||||||||||
| Priority | normal | Resolution | open | |||||||||
| Status | assigned | Product Version | ||||||||||
| Summary | 0005314: ldso fails for ELF relative search paths | |||||||||||
| Description |
I attempted to run an ELF binary with rpath set to $ORIGIN/../lib. ldso failed to correctly locate the shared library. Changing rpath to a complete path reference and relinking allowed the binary to run. I checked the dl-elf.c file, and there does not appear to be support for $ORIGIN, $ISALIST, $OSNAME, $OSREL and $PLATFORM tokens. This leads to an incompatibility on some binaries which will run with glibc, but not with uClibc. The condition can be dealt with by either relinking the binary with a hard coded path, or using the LD_LIBRARY_PATH variable to assist ld in locating the libraries. This is a minor feature which should be added to ldso for completeness, with a compile time flag if the feature is not desired. |
|||||||||||
| Additional Information | ||||||||||||
| Attached Files | ||||||||||||
|
|
||||||||||||
| Copyright © 2000 - 2006 Mantis Group |