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 <[email protected]
<mailto:[email protected]>> 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
[email protected] <mailto:[email protected]>
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
just forgetting a little thing....you can also don't put any paths in
your .bashrc, "sudo ldconfig" will take care of all the necessary stuff.
If you use "paths" you have to logout and then to login again so the OS
is aware of them (every time you add a new one to .bashrc). if you
decide to use checkinstall, after installation edit the configuration file.
/etc/checkinstallrc
and put the "TRANSLATE" entry from 1 to 0.
Best Regards, Arturo
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio