Re: [mpg123-devel] [mpg123-users] mpg123 1.26rc2 released
Brought to you by:
sobukus
From: Thomas O. <tho...@or...> - 2020-05-09 11:29:20
|
Thanks for testing! Am Sat, 9 May 2020 13:05:16 +0200 schrieb Martin Guy <mar...@gm...>: > mpg123: error while loading shared libraries: libsyn123.so.0: cannot > open shared object file: No such file or directory > then I ran "ldconfig" as root and it worked fine. That's a bit peculiar. When I install a build into /dev/shm/test … I get this bit: libtool: install: /usr/bin/install -c src/libsyn123/.libs/libsyn123.so.0.1.0 /dev/shm/test/lib/libsyn123.so.0.1.0 libtool: install: (cd /dev/shm/test/lib && { ln -s -f libsyn123.so.0.1.0 libsyn123.so.0 || { rm -f libsyn123.so.0 && ln -s libsyn123.so.0.1.0 libsyn123.so.0; }; }) libtool: install: (cd /dev/shm/test/lib && { ln -s -f libsyn123.so.0.1.0 libsyn123.so || { rm -f libsyn123.so && ln -s libsyn123.so.0.1.0 libsyn123.so; }; }) libtool: install: /usr/bin/install -c src/libsyn123/.libs/libsyn123.lai /dev/shm/test/lib/libsyn123.la libtool: finish: PATH="/media/thomas/handtasche/thomas/bin:/home/thomas/bin:/home/thomas/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin" ldconfig -n /dev/shm/test/lib ---------------------------------------------------------------------- It installs libsyn123.so.0.1.0 and calls ldconfig on the directory, also creating those symlinks mpg123 needs: $ldd /dev/shm/test/bin/mpg123 linux-vdso.so.1 (0x00007fffb017b000) libmpg123.so.0 => /dev/shm/test/lib/libmpg123.so.0 (0x00007efc2d3e8000) libout123.so.0 => /dev/shm/test/lib/libout123.so.0 (0x00007efc2d1d8000) libsyn123.so.0 => /dev/shm/test/lib/libsyn123.so.0 (0x00007efc2cf8c000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007efc2cbee000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007efc2c7fd000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007efc2c5f9000) /lib64/ld-linux-x86-64.so.2 (0x00007efc2d874000) I wonder if there's anything wrong if the install process … do you actually miss the libsyn123.so.0 name (but have the others) in /usr/local/lib (or the actual lib subdir if you have a multiarch system) before running ldconfig yourself? Alrighty then, Thomas |