GR upgrade fail due to UHD

Hi!

I have a strange problem with my Linux system. I want to build GNU Radio
3.5 on Arch Linux. The first thing I install is UHD:

~ ᐅ uhd_find_devices
uhd_find_devices: error while loading shared libraries: libuhd.so.003:
cannot open shared object file: No such file or directory

Now I navigate into my UHD build folder:

~/source/UHD-Mirror/host/build (master ✘)✭ ᐅ ./utils/uhd_find_devices
linux; GNU C++ version 4.6.2 20120120 (prerelease); Boost_104800;
UHD_003.002.003-e83c35c

No UHD Devices Found

  • so the build is sane and works fine. However it seems the “sudo make
    install” failed.

~/source/UHD-Mirror/host/build (master ✘)✭ ᐅ ls /usr/local/lib | grep
uhd
libgnuradio-uhd-3.5.2git.so
libgnuradio-uhd-3.5.2git.so.0
libgnuradio-uhd-3.5.2git.so.0.0.0
libgnuradio-uhd.so
libuhd.so
libuhd.so.003
libuhd.so.003.002

Does somebody know what the issue is? I assume on of the libraries in
/usr/share/lib is misplaced. Maybe from an older installation. How can I
track this issue? GR 3.5 builds incompletely due to this.

Best,
Marius

On 20/02/12 04:45 AM, Marius Ciepluch wrote:

libgnuradio-uhd-3.5.2git.so


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page

After doing a build/install of both UHD and Gnu Radio, did you:

sudo ldconfig

Just to add to what Marcus said:

Make sure to put “/usr/local/lib” in /etc/ld.so.conf, and then run $
sudo
ldconfig:

$ sudo echo “/usr/local/lib” >> /etc/ld.so.conf
$ sudo ldconfig

http://files.ettus.com/uhd_docs/manual/html/build.html#setup-the-library-path-linux

Cheers,
Ben

On 02/20/2012 06:31 PM, Ben H. wrote:

Cheers,
Ben

Hi Ben,

that was my issue. Thanks a lot for the answer.

Best,
Marius