Bug 10286 - 64-bit ldconfig does not load from /usr/local/lib
Summary: 64-bit ldconfig does not load from /usr/local/lib
Status: NEW
Alias: None
Product: uClibc
Classification: Unclassified
Component: Shared Library Support (show other bugs)
Version: 0.9.33.2
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-01 09:21 UTC by john.frankish
Modified: 2017-09-11 10:40 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
patch for uClibc ldconfig to work with glibc (486 bytes, patch)
2017-09-11 10:40 UTC, john.frankish
Details

Note You need to log in before you can comment on or make changes to this bug.
Description john.frankish 2017-09-01 09:21:05 UTC
Using uClibc-0.9.33.2 - compiling 32-bit works as expected.

Compiling 64-bit, uClibc ldconfig will not load libs from /usr/local/lib, even though it is present in /etc/ld.so.conf

In addition, "ldconfig -p" does not seem to work correctly: 

$ ldconfig -p | tail -2
        libEGL.so (unknown) => /usr/local/lib/libEGL.so
        ld-linux-x86-64.so.2 (unknown) => /lib/ld-linux-x86-64.so.2

..whereas glibc ldconfig gives:

$ ldconfig -p | tail -2
        libEGL.so (libc6,x86-64) => /usr/local/lib/libEGL.so
        ld-linux-x86-64.so.2 (ELF,x86-64) => /lib/ld-linux-x86-64.so.2
Comment 1 john.frankish 2017-09-11 10:40:22 UTC
Created attachment 7226 [details]
patch for uClibc ldconfig to work with glibc

I should have mentioned that the above refers to using uClibc ldconfig with glibc