discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Build/install on Ubuntu x64 10.10 today


From: Arturo Rinaldi
Subject: Re: [Discuss-gnuradio] Build/install on Ubuntu x64 10.10 today
Date: Tue, 12 Apr 2011 16:39:06 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9

Il 12/04/2011 15:27, Andrew Hofmaier ha scritto:
I got the same error today as Marcus did last week in a fresh install from next on Ubuntu 10.04 x64.  Everything worked fine through the UHD install, ./bootstrap, ./configure, make, make check, sudo make install routine.  However, attempting to run gnuradio companion reports:

"Cannot import gnuradio. Are your PYTHONPATH and LD_LIBRARY_PATH set correctly?"

I have the following in my .bashrc file:

# GNU Radio installation
export PATH=$PATH:/usr/local/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.6/site-packages

Also, attempting to "from gnuradio import gr" in a python prompt returns:

>>> from gnuradio import gr
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/__init__.py", line 43, in <module>
    from gnuradio_core import *
  File "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core.py", line 23, in <module>
    from gnuradio_core_runtime import *
  File "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_runtime.py", line 24, in <module>
    _gnuradio_core_runtime = swig_import_helper()
  File "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_runtime.py", line 20, in swig_import_helper
    _mod = imp.load_module('_gnuradio_core_runtime', fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-core-3.4.0git.so.0: undefined symbol: _ZTIN5gruel12msg_accepterE


Any advice?

On Mon, Apr 4, 2011 at 6:19 PM, Marcus D. Leech <address@hidden> wrote:
From today's GIT, fresh build

./bootstrap
./configure
make
sudo make install

Then when I try to use gnuradio stuff:

>>> from gnuradio import gr
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/__init__.py", line 43, in <module>
   from gnuradio_core import *
 File "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core.py", line 23, in <module>
   from gnuradio_core_runtime import *
 File "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_runtime.py", line 24, in <module>
   _gnuradio_core_runtime = swig_import_helper()
 File "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_runtime.py", line 20, in swig_import_helper
   _mod = imp.load_module('_gnuradio_core_runtime', fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-core-3.4.0git.so.0: undefined symbol: _ZTIN5gruel12msg_accepterE
>>>

Re-did the build a coupla of times, including "make clean" and "make distclean".  Still the same results.

Did a "sudo ldconfig" just in case it was the LD cache.  No dice, still same problem.

System is Ubuntu 10.10 x86_64




_______________________________________________
Discuss-gnuradio mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

_______________________________________________ Discuss-gnuradio mailing list address@hidden http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
pay attention ! on debian based distribution the "local" pythonpath is

export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.6/dist-packages

not the one you put in the .bashrc ! I compiled the source tarball (stable 3.3.0) without any problems in this way

sudo apt-get build-dep gnuradio
./configure
make

and then using the "checkinstall" utility

sudo checkinstall  (instead of make install)

after the generated *.deb is installed digit :

sudo ldconfig

my hypothesis of the wrong pythonpath could be confirmed by your errors....Let me know....

reply via email to

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