[USRP-users] Libuhd issues - "uhd_find_devices: error while loading shared libraries"

Marcus D. Leech patchvonbraun at gmail.com
Mon Jan 6 12:02:26 EST 2020


On 01/06/2020 03:36 AM, Fabian Schwartau via USRP-users wrote:
> Ohh sorry,
> just read the error message properly :D
> You have an empty device string in your software when opening it.
This might be a udev issue.

Make certain that you have a file, 10-usrp.rules    in /etc/udev/rules.d


>
> Am 10.12.2019 um 00:06 schrieb Saeid Hashemi:
>> Thank you for your advice Fabian!
>>
>> It seems there is no package called libuhd, just the following versions:
>> libuhd003     libuhd3.14.0  libuhd-dev
>>
>> So I did:
>>
>> $ sudo dpkg -P libuhd3.14.0
>> (Reading database ... 291299 files and directories currently installed.)
>> Removing libuhd3.14.0:amd64 (3.14.0.0-0ubuntu1~trusty1) ...
>> Purging configuration files for libuhd3.14.0:amd64 
>> (3.14.0.0-0ubuntu1~trusty1) ...
>> Processing triggers for libc-bin (2.19-0ubuntu6.15) ...
>> $ sudo apt-get install libuhd3.14.1
>>
>> And now UHD tools work, also within the LTE software, but they won't 
>> find my B210 saying:
>>
>> [INFO] [UHD] linux; GNU C++ version 4.8.4; Boost_105400; 
>> UHD_3.14.1.1-release
>> Error: LookupError: KeyError: No devices found for ----->
>> Empty Device Address
>>
>> Regards,
>> Saeid
>>
>>
>>
>>
>> On Fri, Dec 6, 2019 at 2:58 AM Fabian Schwartau via USRP-users 
>> <usrp-users at lists.ettus.com <mailto:usrp-users at lists.ettus.com>> wrote:
>>
>>     You have an old version of libuhd already installed. Uninstall it 
>> using:
>>     $ sudo dpkg -P libuhd
>>     Then retry installing it. Sometimes libraries are not found and you
>>     have
>>     to run
>>     $ sudo ldconfig
>>     but that is usually done by dpkg.
>>
>>     Am 06.12.2019 um 00:31 schrieb Saeid Hashemi via USRP-users:
>>      > Hello everyone,
>>      >
>>      > I have an Intel NUC running Ubuntu 16.04 and a low latency kernel
>>     which
>>      > I use for OAI LTE software on top of UHD.
>>      >
>>      > After updating my system repositories, UHD broke somehow with the
>>      > following result:
>>      >
>>      > nuc8-3 at nuc83-NUC8i7BEH:~$ uhd_find_devices
>>      > uhd_find_devices: error while loading shared libraries:
>>      > libuhd.so.3.14.1: cannot open shared object file: No such file or
>>     directory
>>      >
>>      > Attempting to manually install the version cited in the error
>>     gives me this:
>>      >
>>      > Unpacking libuhd3.14.1:amd64 (3.14.1.1-0ubuntu1~trusty1) ...
>>      > dpkg: error processing archive
>>      >
>> /var/cache/apt/archives/libuhd3.14.1_3.14.1.1-0ubuntu1~trusty1_amd64.deb
>>
>>      > (--unpack):
>>      >   trying to overwrite
>>     '/usr/share/uhd/rfnoc/blocks/keep_one_in_n.xml',
>>      > which is also in package libuhd3.14.0:amd64 
>> 3.14.0.0-0ubuntu1~trusty1
>>      > dpkg-deb: error: subprocess paste was killed by signal (Broken 
>> pipe)
>>      > Errors were encountered while processing:
>>      > 
>>  /var/cache/apt/archives/libuhd3.14.1_3.14.1.1-0ubuntu1~trusty1_amd64.deb
>>      > E: Sub-process /usr/bin/dpkg returned an error code (1)
>>      >
>>      >
>>      > Would anyone have any recommendations on what to do to make sure
>>     I have
>>      > the right version of everything present?
>>      >
>>      >
>>      > _______________________________________________
>>      > USRP-users mailing list
>>      > USRP-users at lists.ettus.com <mailto:USRP-users at lists.ettus.com>
>>      > 
>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>>      >
>>
>>     --     --------------------------------------------------
>>     M.-Sc. Fabian Schwartau
>>     Technische Universität Braunschweig
>>     Institut für Hochfrequenztechnik
>>     Schleinitzstr. 22
>>     38106 Braunschweig
>>     Germany
>>
>>     Tel.:   +49-(0)531-391-2017
>>     Fax:    +49-(0)531-391-2045
>>     Email: fabian.schwartau at ihf.tu-bs.de
>>     <mailto:fabian.schwartau at ihf.tu-bs.de>
>>     WWW: http://www.tu-braunschweig.de/ihf
>>     --------------------------------------------------
>>
>>     _______________________________________________
>>     USRP-users mailing list
>>     USRP-users at lists.ettus.com <mailto:USRP-users at lists.ettus.com>
>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>>
>




More information about the USRP-users mailing list