sgerrand / alpine-pkg-glibc

A glibc compatibility layer package for Alpine Linux
2.05k stars 280 forks source link

ldd shows using musl lib #146

Closed rickywu closed 3 years ago

rickywu commented 3 years ago

rpm -ivh -nodeps libsysconf-xxx.rpm

ldd libsysconf-xxx.so /lib/ld-musl-x86_64.so.1 (0x7fa377b73000) libdl.so.2 => /lib/ld-musl-x86_64.so.1 (0x7fa377b73000) libc.so.6 => /lib/ld-musl-x86_64.so.1 (0x7fa377b73000) Error relocating libsysconf-alipay.so: __sysconf: symbol not found

libdl.so.2 and libc.so.6 found in /usr/glibc-compat/lib How could I do let them work?

I used export export LD_LIBRARY_PATH=/usr/glibc-compat/lib

sgerrand commented 3 years ago

Hi there. I suggest you use the version of ldd which comes with this package instead. You can find it at /usr/glibc-compat/bin/ldd once the package has been successfully installed.