Re: [opensuse-arm] Applications can't find libraries in /usr/local/lib
FWIW, I have run rtlsdr on a Beagleboard XM. I had to add a symbolic link to make it work. This is from my notes on installing the rtlsdr for ads-b:
If there is a library issue, this symbolic link should fix it: cd /lib ln -s /usr/local/lib/librtlsdr.so.0.0.0 librtlsdr.so.0
There may be a more elegant fix. ------Original Message------ From: Andreas Schwab To: sboyce@blueyonder.co.uk Cc: opensuse-arm@opensuse.org Subject: Re: [opensuse-arm] Applications can't find libraries in /usr/local/lib Sent: Apr 17, 2013 1:56 AM Sid Boyce <sboyce@blueyonder.co.uk> writes:
For /usr/local/lib it prints out what's expected.
No second hand guesses. Show us the *facts*. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org Sent via BlackBerry from T-Mobile
It was all done by "make install" and ldconfig was run. There is also the fact that "LD_LIBRARY_PATH=/usr/local/lib rigctl -l" works whereas "rigctl -l" fails to find libhamlib.so.2. ODROID-X:/3/ODROID-X # l /usr/local/lib total 1920 drwxr-xr-x 4 root root 4096 Apr 16 16:30 ./ drwxr-xr-x 11 root root 4096 Apr 15 12:00 ../ drwxr-xr-x 2 root root 4096 Apr 16 16:30 hamlib/ -rw-r--r-- 1 root root 593994 Apr 16 00:37 libcodec2.a -rwxr-xr-x 1 root root 953 Apr 16 00:37 libcodec2.la* lrwxrwxrwx 1 root root 18 Apr 16 00:37 libcodec2.so -> libcodec2.so.0.0.0* lrwxrwxrwx 1 root root 18 Apr 16 00:37 libcodec2.so.0 -> libcodec2.so.0.0.0* -rwxr-xr-x 1 root root 514526 Apr 16 00:37 libcodec2.so.0.0.0* -rwxr-xr-x 1 root root 964 Apr 16 16:29 libhamlib.la* -rwxr-xr-x 1 root root 1000 Apr 16 16:30 libhamlib++.la* lrwxrwxrwx 1 root root 18 Apr 16 16:29 libhamlib.so -> libhamlib.so.2.1.0* lrwxrwxrwx 1 root root 20 Apr 16 16:30 libhamlib++.so -> libhamlib++.so.2.1.0* lrwxrwxrwx 1 root root 18 Apr 16 16:29 libhamlib.so.2 -> libhamlib.so.2.1.0* lrwxrwxrwx 1 root root 20 Apr 16 16:30 libhamlib++.so.2 -> libhamlib++.so.2.1.0* -rwxr-xr-x 1 root root 427361 Apr 16 16:29 libhamlib.so.2.1.0* -rwxr-xr-x 1 root root 141165 Apr 16 16:30 libhamlib++.so.2.1.0* -rw-r--r-- 1 root root 116178 Apr 16 13:55 librtlsdr.a lrwxrwxrwx 1 root root 14 Apr 16 13:55 librtlsdr.so -> librtlsdr.so.0* lrwxrwxrwx 1 root root 18 Apr 16 13:55 librtlsdr.so.0 -> librtlsdr.so.0.0.0* -rwxr-xr-x 1 root root 129327 Apr 16 13:55 librtlsdr.so.0.0.0* drwxr-xr-x 2 root root 4096 Apr 16 16:30 pkgconfig/ Regards Sid. On 17/04/13 10:06, lists@lazygranch.com wrote:
FWIW, I have run rtlsdr on a Beagleboard XM. I had to add a symbolic link to make it work.
This is from my notes on installing the rtlsdr for ads-b:
If there is a library issue, this symbolic link should fix it: cd /lib ln -s /usr/local/lib/librtlsdr.so.0.0.0 librtlsdr.so.0 There may be a more elegant fix.
------Original Message------ From: Andreas Schwab To: sboyce@blueyonder.co.uk Cc: opensuse-arm@opensuse.org Subject: Re: [opensuse-arm] Applications can't find libraries in /usr/local/lib Sent: Apr 17, 2013 1:56 AM
Sid Boyce <sboyce@blueyonder.co.uk> writes:
For /usr/local/lib it prints out what's expected. No second hand guesses. Show us the *facts*.
Andreas.
-- 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
participants (2)
-
lists@lazygranch.com
-
Sid Boyce