discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Undefined symbol when running gnuradio-companion


From: Richard Sharpe
Subject: Re: [Discuss-gnuradio] Undefined symbol when running gnuradio-companion with hackrf
Date: Sat, 6 Sep 2014 11:54:25 -0700

On Fri, Sep 5, 2014 at 8:45 PM, Richard Sharpe
<address@hidden> wrote:
> Hi folks,
>
> I managed to get pybombs to install and build on my Fedora 19 system
> with hackrf and gr-osmosdr.
>
> However, when I run with an osmocom source and the HackRF connected I
> get the following error. Has anyone seen this? What causes it?
>
> Executing: "/home/rsharpe/pybombs/top_block.py"
>
> Traceback (most recent call last):
>   File "/home/rsharpe/pybombs/top_block.py", line 17, in <module>
>     import osmosdr
>   File 
> "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/__init__.py",
> line 26, in <module>
>     from osmosdr_swig import *
>   File 
> "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.py",
> line 26, in <module>
>     _osmosdr_swig = swig_import_helper()
>   File 
> "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.py",
> line 22, in swig_import_helper
>     _mod = imp.load_module('_osmosdr_swig', fp, pathname, description)
> ImportError: /home/rsharpe/target/lib64/libgnuradio-osmosdr-0.1.4git.so.0.0.0:
> undefined symbol: _ZN2gr6blocks8throttle4makeEmdb
>
>>>> Done

Found the problem, although it tool a while. I had the gnuradio RPMs
on the system as well, and ldd showed me the problem:

address@hidden src]$ ldd
/home/rsharpe/target/lib64/libgnuradio-osmosdr-0.1.4git.so.0.0.0 |
more
linux-vdso.so.1 =>  (0x00007fff0a5fe000)
libboost_thread-mt.so.1.53.0 => /lib64/libboost_thread-mt.so.1.53.0 (0x0
0007f543fe6f000)
libboost_system-mt.so.1.53.0 => /lib64/libboost_system-mt.so.1.53.0 (0x0
0007f543fc6a000)
libgnuradio-runtime-3.7.6git.so.0.0.0 => /home/rsharpe/target/lib64/libg
nuradio-runtime-3.7.6git.so.0.0.0 (0x00007f543f996000)
libgnuradio-pmt-3.7.6git.so.0.0.0 => /home/rsharpe/target/lib64/libgnura
dio-pmt-3.7.6git.so.0.0.0 (0x00007f543f74e000)
libgnuradio-blocks-3.6.5.so.0.0.0 => /lib64/libgnuradio-blocks-3.6.5.so.
0.0.0 (0x00007f543f36c000)
----------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libgnuradio-iqbalance.so => /home/rsharpe/target/lib64/libgnuradio-iqbal
ance.so (0x00007f543f157000)
libosmosdr.so.0 => /home/rsharpe/target/lib/libosmosdr.so.0 (0x00007f543
ef52000)

The library is being picked up from the wrong place. That library does
not have the symbol that the more recent one does.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]