On 17/04/13 08:29, Andreas Schwab wrote:
Sid Boyce <sboyce@blueyonder.co.uk> writes:
ldconfig -p also lists it in the cache. And what does it print?
Andreas.
For /usr/local/lib it prints out what's expected. So the problem is that binaries when executed can't see them. Running strace, /usr/local/lib is never searched. librtlsdr.so.0 (libc6) => /usr/local/lib/librtlsdr.so.0 librtlsdr.so (libc6) => /usr/local/lib/librtlsdr.so libhamlib.so.2 (libc6) => /usr/local/lib/libhamlib.so.2 libhamlib.so (libc6) => /usr/local/lib/libhamlib.so libhamlib++.so.2 (libc6) => /usr/local/lib/libhamlib++.so.2 libhamlib++.so (libc6) => /usr/local/lib/libhamlib++.so # strace -s 256 -f rigctl -l|grep local <STUFF DELETED> open("/usr/lib/v7l/libhamlib.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat64("/usr/lib/v7l", 0xbea66b00) = -1 ENOENT (No such file or directory) open("/usr/lib/neon/vfp/libhamlib.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat64("/usr/lib/neon/vfp", 0xbea66b00) = -1 ENOENT (No such file or directory) open("/usr/lib/neon/libhamlib.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat64("/usr/lib/neon", 0xbea66b00) = -1 ENOENT (No such file or directory) open("/usr/lib/vfp/libhamlib.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat64("/usr/lib/vfp", 0xbea66b00) = -1 ENOENT (No such file or directory) open("/usr/lib/libhamlib.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=90112, ...}) = 0 writev(2, [{"rigctl", 6}, {": ", 2}, {"error while loading shared libraries", 36}, {": ", 2}, {"libhamlib.so.2", 14}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10rigctl: error while loading shared libraries: libhamlib.so.2: cannot open shared object file: No such file or directory ) = 120 exit_group(127) = ? +++ exited with 127 +++ Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org