Re: [mpg123-users] [bug?] error while loading shared libraries: libmpg123.so.0
Brought to you by:
sobukus
|
From: Thomas O. <tho...@or...> - 2016-12-03 20:16:27
|
Am Sat, 3 Dec 2016 17:27:10 +0000 schrieb Ricardo André <ric...@gm...>: > mpg123: error while loading shared libraries: libmpg123.so.0: cannot > open shared object file: No such file or directory > > That library is at /usr/local/lib64. I just tested with an OpenSUSE 13.1 system … you do need to run ldconfig after installing the libraries. Then: $ ldd /usr/local/bin/mpg123 linux-vdso.so.1 (0x00007ffc6c16c000) libmpg123.so.0 => /usr/local/lib64/libmpg123.so.0 (0x00007f76742fd000) libout123.so.0 => /usr/local/lib64/libout123.so.0 (0x00007f76740f0000) libm.so.6 => /lib64/libm.so.6 (0x00007f7673ded000) libc.so.6 => /lib64/libc.so.6 (0x00007f7673a3f000) /lib64/ld-linux-x86-64.so.2 (0x00007f7674559000) Can you confirm? Although, building things with RPATH (setting LD_RUN_PATH to /usr/local/lib64 while building) might be safer anyway … here we rely on the order of things in ld.so.conf. Alrighty then, Thomas |