Undefined Symbol with python2.6

Hello,

I just installed the latest GR from the git master branch. I use Ubuntu
9.10, boost 1.38, and python2.6, and the USRP2. The install seemed to
go
fine. However, I if try to run any of the python modules I get this
error:

I do this:
sudo python streaming_fft.py -e eth1 -f 2.4G
./rx_streaming_samples -s -e eth1 -f 2.4e+09 -d 16 -o /proc/self/fd/1 |
./stdin_int32_fft.py -f 2.4e+09 -d 16
Traceback (most recent call last):
File “./stdin_int32_fft.py”, line 23, in
from gnuradio import gr, gru
File “/usr/lib/python2.6/dist-packages/gnuradio/gr/init.py”, line
43,
in
from gnuradio_swig_python import *
File
“/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_swig_python.py”,
line
23, in
from gnuradio_swig_py_runtime import *
File
“/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_swig_py_runtime.py”,
line 6, in
import _gnuradio_swig_py_runtime
ImportError: libboost_thread-mt.so.1.35.0: cannot open shared object
file:
No such file or directory
/proc/self/fd/1: Broken pipe

So I just made a symlik in /usr/lib from boostthread1.38 to
boostthread1.35
This is probably a bad idea (see below) But why is boostthread1.35
required? Should I reinstall boost1.35 and then GR?

With the boostthread1.35 -> boostthread1.38 symlink I just get a
different
error:

$ sudo python streaming_fft.py -e eth1 -f 2.4G
./rx_streaming_samples -s -e eth1 -f 2.4e+09 -d 16 -o /proc/self/fd/1 |
./stdin_int32_fft.py -f 2.4e+09 -d 16
Traceback (most recent call last):
File “./stdin_int32_fft.py”, line 23, in
from gnuradio import gr, gru
File “/usr/lib/python2.6/dist-packages/gnuradio/gr/init.py”, line
43,
in
from gnuradio_swig_python import *
File
“/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_swig_python.py”,
line
24, in
from gnuradio_swig_py_general import *
File
“/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_swig_py_general.py”,
line 6, in
import _gnuradio_swig_py_general
ImportError:
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_swig_py_general.so:
undefined symbol: _Z12gr_make_headji
/proc/self/fd/1: Broken pipe

I doesn’t matter which python script I run or what flags I use, I get
this
error message. I searched for the undefined symbol, Z12gr_make_headji,
and
found 0 results. No one seems to have this problem thatI can find.

Also, when I try to run grc I get this a window that says this:
Cannot import gnuradio. Are your PYTHONPATH and LD_LIBRARY_PATH set
correctly?
With this title: /usr/lib/python2.6/dist-packages/gnuradio/g (the rest
is
cut off)

My gnuradio core library seems to be located in the right place:
$ locate gnuradio-core.so
/usr/local/lib/libgnuradio-core.so
/usr/local/lib/libgnuradio-core.so.0
/usr/local/lib/libgnuradio-core.so.0.0.0
(is the 0.0.0 wrong?)

I had had some problems installing before, but I think the most recent
install worked. When I run make check all tests pass.

If anyone can help I’d really appreciate it,
Devin

On Fri, Jan 22, 2010 at 11:21, devin kelly [email protected] wrote:

ImportError: libboost_thread-mt.so.1.35.0: cannot open shared object file:
No such file or directory

This looks like you still have an older version of GNU Radio installed
that is being found on your path or PYTHONPATH somehow.

Johnathan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs