Building Lime Suite from source on Debian 9

I’m trying to install Lime Suite on Debian 9. From the output of uname:

4.9.0-2-amd64 #1 SMP Debian 4.9.13-1 (2017-02-27) x86_64 GNU/Linux

I’m building from the latest version of the Lime Suite master branch (commit b7d391cbea39bbb1ac0dc4e82e19a073fb8e5b0f) and the latest version of the SoapySDR master branch (commit 74f890ce73c58c37df08ea518541d3f49ffefadb). All other dependencies were installed via standard Debian packages using apt.

Both SoapySDR and Lime Suite seemed to build and install successfully, but running LimeSuiteGUI immediately gives this error:

LimeSuiteGUI: error while loading shared libraries: libLimeSuite.so.17.03-1: cannot open shared object file: No such file or directory

The object file in question exists in /usr/local/lib:

lrwxrwxrwx 1 root staff      23 May  5 15:39 libLimeSuite.so -> libLimeSuite.so.17.03-1
-rw-r--r-- 1 root staff 1001176 May  5 15:36 libLimeSuite.so.17.03.0
lrwxrwxrwx 1 root staff      23 May  5 15:39 libLimeSuite.so.17.03-1 -> libLimeSuite.so.17.03.0
lrwxrwxrwx 1 root staff      18 May  5 15:21 libSoapySDR.so -> libSoapySDR.so.0.6
lrwxrwxrwx 1 root staff      20 May  5 15:21 libSoapySDR.so.0.6 -> libSoapySDR.so.0.6.0
-rw-r--r-- 1 root staff  293192 May  5 15:20 libSoapySDR.so.0.6.0
drwxr-sr-x 2 root staff    4096 May  5 15:21 pkgconfig/
drwxrwsr-x 4 root staff    4096 Jan 31 00:17 python2.7/
drwxr-sr-x 3 root staff    4096 May  5 15:21 python3/
drwxrwsr-x 3 root staff    4096 Feb  8  2016 python3.5/
drwxr-sr-x 3 root staff    4096 May  5 15:39 SoapySDR/

Any suggestions or ideas of what might be going wrong? Happy to provide more information as needed.

Thanks,
JHL

try using SoapySDRUTIL --info

If the lime is shown …

go back to folder you built LimeSuite from
sudo make uninstall

(use folder browser to see if libLimeSuite.so and similar were removed)

git pull from LimeSuite folder , just to be sure …

go back to where you built LimeSuite from

make clean
cmake …/
make -j4
sudo make install

BTY … post the output of cmake …/ to pastebin and share link …

Also try sudo ldconfig before running LimeSuiteGUI

reboot?

Thanks for the quick reply. Indeed, sudo ldconfig did the trick. I noticed ldconfig as part of the installation instructions for SoapySDR, but it’s not mentioned in the Lime Suite build instructions. Is that Debian-specific? Might be worth adding a note there. I don’t see a way to edit the wiki page, otherwise I’d make the change.

Its some times needed for all Debian based distro’s … i think its some thing left out of the makefile when finishing install … some programs need it, others do not