usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Libuhd issues - "uhd_find_devices: error while loading shared libraries"

SH
Saeid Hashemi
Thu, Dec 5, 2019 11:31 PM

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@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?

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@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?
FS
Fabian Schwartau
Fri, Dec 6, 2019 7:58 AM

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@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@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@ihf.tu-bs.de
WWW:    http://www.tu-braunschweig.de/ihf

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@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@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@ihf.tu-bs.de WWW: http://www.tu-braunschweig.de/ihf --------------------------------------------------
SH
Saeid Hashemi
Mon, Dec 9, 2019 11:06 PM

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@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@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@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@ihf.tu-bs.de
WWW:    http://www.tu-braunschweig.de/ihf


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

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@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@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@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@ihf.tu-bs.de > WWW: http://www.tu-braunschweig.de/ihf > -------------------------------------------------- > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >
CR
Cedric Roux
Tue, Dec 10, 2019 8:49 AM

Dear Saeid,

a bit OT, but,

On 2019-12-10 00:06, Saeid Hashemi via USRP-users wrote:

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

if it's openairinterface, then check your conf file.
For b210 you must remove the line starting with
"sdr_addrs = ".

Sorry for the noise everyone.

Regards,
Cédric.

Dear Saeid, a bit OT, but, On 2019-12-10 00:06, Saeid Hashemi via USRP-users wrote: > 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 if it's openairinterface, then check your conf file. For b210 you must remove the line starting with "sdr_addrs = ". Sorry for the noise everyone. Regards, Cédric.
FS
Fabian Schwartau
Mon, Jan 6, 2020 8:35 AM

Hi,
sorry for the delay.
This might be a permission issue. If it works as root, it is.
You have to add some rules to udev to allow access for a normal user. I
don't know the exact configuration required, just search for udev and
uhd and you will find what you need.

Best regards,
Fabian

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@lists.ettus.com mailto:usrp-users@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@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
 -- 
 --------------------------------------------------
 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@ihf.tu-bs.de
 <mailto:fabian.schwartau@ihf.tu-bs.de>
 WWW: http://www.tu-braunschweig.de/ihf
 --------------------------------------------------

 _______________________________________________
 USRP-users mailing list
 USRP-users@lists.ettus.com <mailto:USRP-users@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@ihf.tu-bs.de
WWW:    http://www.tu-braunschweig.de/ihf

Hi, sorry for the delay. This might be a permission issue. If it works as root, it is. You have to add some rules to udev to allow access for a normal user. I don't know the exact configuration required, just search for udev and uhd and you will find what you need. Best regards, Fabian 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@lists.ettus.com <mailto:usrp-users@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@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@lists.ettus.com <mailto:USRP-users@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@ihf.tu-bs.de > <mailto:fabian.schwartau@ihf.tu-bs.de> > WWW: http://www.tu-braunschweig.de/ihf > -------------------------------------------------- > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com <mailto:USRP-users@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@ihf.tu-bs.de WWW: http://www.tu-braunschweig.de/ihf --------------------------------------------------
FS
Fabian Schwartau
Mon, Jan 6, 2020 8:36 AM

Ohh sorry,
just read the error message properly :D
You have an empty device string in your software when opening it.

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@lists.ettus.com mailto:usrp-users@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@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
 -- 
 --------------------------------------------------
 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@ihf.tu-bs.de
 <mailto:fabian.schwartau@ihf.tu-bs.de>
 WWW: http://www.tu-braunschweig.de/ihf
 --------------------------------------------------

 _______________________________________________
 USRP-users mailing list
 USRP-users@lists.ettus.com <mailto:USRP-users@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@ihf.tu-bs.de
WWW:    http://www.tu-braunschweig.de/ihf

Ohh sorry, just read the error message properly :D You have an empty device string in your software when opening it. 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@lists.ettus.com <mailto:usrp-users@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@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@lists.ettus.com <mailto:USRP-users@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@ihf.tu-bs.de > <mailto:fabian.schwartau@ihf.tu-bs.de> > WWW: http://www.tu-braunschweig.de/ihf > -------------------------------------------------- > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com <mailto:USRP-users@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@ihf.tu-bs.de WWW: http://www.tu-braunschweig.de/ihf --------------------------------------------------
MD
Marcus D. Leech
Mon, Jan 6, 2020 5:02 PM

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@lists.ettus.com mailto:usrp-users@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@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@lists.ettus.com mailto: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@ihf.tu-bs.de
 <mailto:fabian.schwartau@ihf.tu-bs.de>
 WWW: http://www.tu-braunschweig.de/ihf
 --------------------------------------------------

 _______________________________________________
 USRP-users mailing list
 USRP-users@lists.ettus.com <mailto:USRP-users@lists.ettus.com>

http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

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@lists.ettus.com <mailto:usrp-users@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@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@lists.ettus.com <mailto:USRP-users@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@ihf.tu-bs.de >> <mailto:fabian.schwartau@ihf.tu-bs.de> >> WWW: http://www.tu-braunschweig.de/ihf >> -------------------------------------------------- >> >> _______________________________________________ >> USRP-users mailing list >> USRP-users@lists.ettus.com <mailto:USRP-users@lists.ettus.com> >> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >> >