Dear all,
I had gnuradio-3.7.3 running normally. However, now everytime I run a
flowgraph in GRC, it stops and throws an error:
Traceback (most recent call last): File
“/home/khachoang/GNU_Radio/test_grc/2Node_NoController/top_block.py”,
line 14, in from gnuradio.filter import firdes File
“/usr/local/lib/python2.7/dist-packages/gnuradio/filter/init.py”,
line 32, in from filter_swig import * File
“/usr/local/lib/python2.7/dist-packages/gnuradio/filter/filter_swig.py”,
line 28, in _filter_swig = swig_import_helper() File
“/usr/local/lib/python2.7/dist-packages/gnuradio/filter/filter_swig.py”,
line 24, in swig_import_helper _mod = imp.load_module(’_filter_swig’,
fp, pathname, description)ImportError:
/usr/local/lib/libgnuradio-filter-3.7.3.so.0.0.0: undefined symbol:
volk_malloc
I haven’t seen it before and have no idea why. Before it become like
that, I ran this command: apt-cache search libqt4.
How should I fix it?
Thanks,Hoang Ngo
Hoang Ngo-KhacResearch Assistant - Lab. of Signal and System, FET, UET,
Vietnam National University-Hanoi (VNU-H)Alternative email:
[email protected], [email protected]:
+84.163.682.7874
ImportError: /usr/local/lib/libgnuradio-filter-3.7.3.so.0.0.0: undefined symbol:
volk_malloc
It’s possible that parts of the build are out of sync. I recommend
rebuilding / reinstalling GNU Radio.
Sean
On Thu, Sep 25, 2014 at 11:00 PM, Hoang Ngo-Khac
[email protected] wrote:
line 32, in
symbol: volk_mallocI haven’t seen it before and have no idea why. Before it become like that, I
ran this command: apt-cache search libqt4.How should I fix it?
The first step is to find out why the symbol is missing. Try:
ldd /usr/local/lib/libgnuradio-filter-3.7.3.so.0.0.0
and look for a missing shared library. That will tell you what went
wrong. Looks like maybe they changed the version or something.
The quickest way is likely to reinstall it all with pybombs.
–
Regards,
Richard Sharpe
(何以解憂?唯有杜康。–曹操)
I did uninstall gnuradio and reinstall it but that error still occurs.
Hoang Ngo-KhacResearch Assistant - Lab. of Signal and System, FET, UET,
Vietnam National University-Hanoi (VNU-H)Alternative email:
[email protected], [email protected]:
+84.163.682.7874
On Mon, Sep 29, 2014 at 9:49 PM, Hoang Ngo-Khac
[email protected] wrote:
I did uninstall gnuradio and reinstall it but that error still occurs.
So, from below it looks like this shared-library:
/usr/local/lib/libgnuradio-filter-3.7.3.so.0.0.0
cannot find a symbol it needs. If you use the following command:
ldd /usr/local/lib/libgnuradio-filter-3.7.3.so.0.0.0
It will tell you all the other shared libraries this shared library
depends on. One of them is no longer in the correct place.
Send us the output of the above command.
Maybe you have a prebuilt package on your system like I did when I
first installed with pybombs.
File
_filter_swig = swig_import_helper()
ran this command: apt-cache search libqt4.
The quickest way is likely to reinstall it all with pybombs.–
Regards,
Richard Sharpe
(何以解憂?唯有杜康。–曹操)
–
Regards,
Richard Sharpe
(何以解憂?唯有杜康。–曹操)
Thank you. This is the output of that command:
linux-gate.so.1 => (0xb76e9000) libgnuradio-runtime-3.7.3.so.0.0.0
=> /usr/local/lib/libgnuradio-runtime-3.7.3.so.0.0.0 (0xb7578000)
libgnuradio-fft-3.7.3.so.0.0.0 =>
/usr/local/lib/libgnuradio-fft-3.7.3.so.0.0.0 (0xb7560000)
libvolk.so.0.0.0 => /usr/lib/i386-linux-gnu/libvolk.so.0.0.0
(0xb749c000) libboost_system.so.1.54.0 =>
/usr/lib/i386-linux-gnu/libboost_system.so.1.54.0 (0xb7498000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb747c000)
libgnuradio-pmt-3.7.3.so.0.0.0 =>
/usr/local/lib/libgnuradio-pmt-3.7.3.so.0.0.0 (0xb743d000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb7354000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb730d000) libgcc_s.so.1
=> /lib/i386-linux-gnu/libgcc_s.so.1 (0xb72f0000) libc.so.6 =>
/lib/i386-linux-gnu/libc.so.6 (0xb7140000)
libboost_filesystem.so.1.54.0 =>
/usr/lib/i386-linux-gnu/libboost_filesystem.so.1.54.0 (0xb7129000)
libboost_thread.so.1.54.0 =>
/usr/lib/i386-linux-gnu/libboost_thread.so.1.54.0 (0xb7114000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb710a000)
libfftw3f.so.3 => /usr/lib/i386-linux-gnu/libfftw3f.so.3 (0xb6f1b000)
libfftw3f_threads.so.3 => /usr/lib/i386-linux-gnu/libfftw3f_threads.so.3
(0xb6f13000) liborc-0.4.so.0 => /usr/lib/i386-linux-gnu/liborc-0.4.so.0
(0xb6e83000) /lib/ld-linux.so.2 (0xb76ea000)
How could I recognize which libraries is in the wrong place?
Hoang Ngo-KhacResearch Assistant - Lab. of Signal and System, FET, UET,
Vietnam National University-Hanoi (VNU-H)Alternative email:
[email protected], [email protected]:
+84.163.682.7874
Thank you all,
I went into /usr/lib/i386-linux-gnu/ and remove libvolk.so.0.0.0 with
root. Then I reinstalled gnuradio and it works now.
Hoang
Hoang Ngo-KhacResearch Assistant - Lab. of Signal and System, FET, UET,
Vietnam National University-Hanoi (VNU-H)Alternative email:
[email protected], [email protected]:
+84.163.682.7874
libvolk.so.0.0.0 => /usr/lib/i386-linux-gnu/libvolk.so.0.0.0
(0xb749c000)
That sounds like you installed gnuradio packages from your distro.
Then possibly removed them, but not entirely, volk is still there.
If you removed the GR packages already, try ‘apt-get autoremove’
Cheers,
Sylvain
On Tue, Sep 30, 2014 at 12:12 PM, Hoang Ngo-Khac
[email protected] wrote:
Thank you all,
I went into /usr/lib/i386-linux-gnu/ and remove libvolk.so.0.0.0 with root.
Then I reinstalled gnuradio and it works now.
It’s exactly that kind of careless behavior that will yield more
problem in the future …
You shouldn’t do that kind of operation manually, that’s what your
package manager is for. Because now when there is a package update,
your package manager might very well just re-create that file.
Cheers,
Sylvain
On Tue, Sep 30, 2014 at 3:27 AM, Sylvain M. [email protected]
wrote:
You shouldn’t do that kind of operation manually, that’s what your
package manager is for. Because now when there is a package update,
your package manager might very well just re-create that file.
This same problem happened to me. I had some of my distro’s packages
installed and had symbol problems, which is how I knew to check the
shared libs.
Somewhere, pybombs does not seem to get the link location correct.
I can only echo the comment that you should not manually remove that
file. Use your distro’s packaging utility to remove the whole package.
There might be other problems waiting to pounce on you.
–
Regards,
Richard Sharpe
(何以解憂?唯有杜康。–曹操)
Ok. I got it. Actually, I did run sudo apt-get autoremove but
libvolk.so.0.0.0 was still there, so I tried removing it manually.
Hoang Ngo-KhacResearch Assistant - Lab. of Signal and System, FET, UET,
Vietnam National University-Hanoi (VNU-H)Alternative email:
[email protected], [email protected]:
+84.163.682.7874