Discussion:
[Hackrf-dev] ImportError: /usr/lib/x86_64-linux-gnu/libgnuradio-osmosdr.so.0.1.5git: undefined
Dave New
2017-03-20 21:27:01 UTC
Permalink
I haven't been tinkering with grc for a while, but I've booted the
Ubuntu system now and then and taken any system updates offered.

Apparently, something broke. Now, whenever I try to execute any of my
grc saved files, it always quits with the following error:

ImportError: /usr/lib/x86_64-linux-gnu/libgnuradio-osmosdr.so.0.1.5git:
undefined symbol: _ZN3uhd6device4findERKNS_13device_addr_tE

I did a Google search, and found a conversation from last year about
library issues, but nothing that seemed to point out to me just how to
go about correcting this. Maybe I'll have to bite the bullet and
uninstall all of the gnuradio stuff and re-install? AFAIK, it was all
done using the Ubuntu package manager. PyBOMBS is not installed on this
machine (yet).

I'd like to be able to keep this stuff running without having to jump
into the arcane dependencies that can crop up now and then. Would
re-installing using PyBOMBS give me the least headache, or just a
different bunch of challenges?

Thanks, and 73,

-- Dave, N8SBE
Dominic Spill
2017-03-21 13:56:31 UTC
Permalink
I haven't been tinkering with grc for a while, but I've booted the Ubuntu
system now and then and taken any system updates offered.
Apparently, something broke. Now, whenever I try to execute any of my
undefined symbol: _ZN3uhd6device4findERKNS_13device_addr_tE

This is an issue with a missing symbol in the UHD driver (for USRP
hardware). Do you have the USD packages installed? (check with 'dpkg -l |
grep uhd')
I did a Google search, and found a conversation from last year about
library issues, but nothing that seemed to point out to me just how to go
about correcting this. Maybe I'll have to bite the bullet and uninstall
all of the gnuradio stuff and re-install? AFAIK, it was all done using the
Ubuntu package manager. PyBOMBS is not installed on this machine (yet).
I'd like to be able to keep this stuff running without having to jump
into the arcane dependencies that can crop up now and then. Would
re-installing using PyBOMBS give me the least headache, or just a different
bunch of challenges?

I generally find the Ubuntu packages are up to date enough for everything I
want to do. I do, however, build my own libhackrf, but that's mostly
because I'm working on it. If you're not likely to modify the GNU Radio
code or HackRF code, then installing from the Ubuntu repositories should be
sufficient, if mildly out of date.

Dominic
Dave New
2017-03-21 17:05:21 UTC
Permalink
Looks like they are there (unless something is missing):

rc libgnuradio-uhd3.7.2.1:amd64
3.7.2.1-5ubuntu0.1 amd64 gnuradio
universal hardware driver functions
ii libgnuradio-uhd3.7.5:amd64
3.7.5-gqrx~trusty1 amd64 gnuradio
universal hardware driver functions
ii libuhd-dev 3.10.1.1-0ubuntu1~trusty1 amd64
universal hardware driver for Ettus Research products
ii libuhd003:amd64 3.10.1.1-0ubuntu1~trusty1
amd64 hardware driver for Ettus Research products
ii uhd-host 3.10.1.1-0ubuntu1~trusty1 amd64
hardware driver for Ettus Research products

Dave
Post by Dave New
Post by Dave New
I haven't been tinkering with grc for a while, but I've booted the
Ubuntu system now and then and taken any system updates offered.
Post by Dave New
Apparently, something broke. Now, whenever I try to execute any of
/usr/lib/x86_64-linux-gnu/libgnuradio-osmosdr.so.0.1.5git: undefined
symbol: _ZN3uhd6device4findERKNS_13device_addr_tE
This is an issue with a missing symbol in the UHD driver (for USRP
hardware). Do you have the USD packages installed? (check with 'dpkg
-l | grep uhd')
Post by Dave New
I did a Google search, and found a conversation from last year about
library issues, but nothing that seemed to point out to me just how to
go about correcting this. Maybe I'll have to bite the bullet and
uninstall all of the gnuradio stuff and re-install? AFAIK, it was all
done using the Ubuntu package manager. PyBOMBS is not installed on
this machine (yet).
Post by Dave New
I'd like to be able to keep this stuff running without having to
jump into the arcane dependencies that can crop up now and then. Would
re-installing using PyBOMBS give me the least headache, or just a
different bunch of challenges?
I generally find the Ubuntu packages are up to date enough for
everything I want to do. I do, however, build my own libhackrf, but
that's mostly because I'm working on it. If you're not likely to
modify the GNU Radio code or HackRF code, then installing from the
Ubuntu repositories should be sufficient, if mildly out of date.
Dominic
Dave New
2017-03-22 13:06:20 UTC
Permalink
Dominic,

After a LOT of uninstalling/reinstalling, etc. I finally found an old
link/library lurking. I deleted it, re-installed, and finally got
things working again. I have a presentation to make this afternoon, so
I'm not touching anything at the moment.

Thanks for the assist,

73, Dave, N8SBE
Post by Dave New
rc libgnuradio-uhd3.7.2.1:amd64
3.7.2.1-5ubuntu0.1 amd64 gnuradio
universal hardware driver functions
ii libgnuradio-uhd3.7.5:amd64
3.7.5-gqrx~trusty1 amd64 gnuradio
universal hardware driver functions
ii libuhd-dev 3.10.1.1-0ubuntu1~trusty1
amd64 universal hardware driver for Ettus Research products
ii libuhd003:amd64
3.10.1.1-0ubuntu1~trusty1 amd64 hardware
driver for Ettus Research products
ii uhd-host 3.10.1.1-0ubuntu1~trusty1 amd64
hardware driver for Ettus Research products
Dave
Post by Dave New
Post by Dave New
I haven't been tinkering with grc for a while, but I've booted the
Ubuntu system now and then and taken any system updates offered.
Post by Dave New
Apparently, something broke. Now, whenever I try to execute any of
/usr/lib/x86_64-linux-gnu/libgnuradio-osmosdr.so.0.1.5git: undefined
symbol: _ZN3uhd6device4findERKNS_13device_addr_tE
This is an issue with a missing symbol in the UHD driver (for USRP
hardware). Do you have the USD packages installed? (check with 'dpkg
-l | grep uhd')
Post by Dave New
I did a Google search, and found a conversation from last year
about library issues, but nothing that seemed to point out to me just
how to go about correcting this. Maybe I'll have to bite the bullet
and uninstall all of the gnuradio stuff and re-install? AFAIK, it was
all done using the Ubuntu package manager. PyBOMBS is not installed
on this machine (yet).
Post by Dave New
I'd like to be able to keep this stuff running without having to
jump into the arcane dependencies that can crop up now and then.
Would re-installing using PyBOMBS give me the least headache, or just
a different bunch of challenges?
I generally find the Ubuntu packages are up to date enough for
everything I want to do. I do, however, build my own libhackrf, but
that's mostly because I'm working on it. If you're not likely to
modify the GNU Radio code or HackRF code, then installing from the
Ubuntu repositories should be sufficient, if mildly out of date.
Dominic
_______________________________________________
HackRF-dev mailing list
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
Loading...