Forum: GNU Radio Possible problem with file location

Posted by Graeme Gemmill (Guest)
on 2013-02-09 14:58
(Received via mailing list)
I installed gnuradio to /opt/radio and set
PYTHONPATH=/opt/radio/lib64/python2.7/site-packages.
My first test run gave:
[graeme@handel Apps]$ python Test1.py
Traceback (most recent call last):
   File "Test1.py", line 3, in <module>
     from gnuradio import gr
   File
"/opt/radio/lib64/python2.7/site-packages/gnuradio/gr/__init__.py", line
27, in <module>
     from gnuradio_core import *
   File
"/opt/radio/lib64/python2.7/site-packages/gnuradio/gr/gnuradio_core.py",
line 23, in <module>
     from gnuradio_core_runtime import *
   File
"/opt/radio/lib64/python2.7/site-packages/gnuradio/gr/gnuradio_core_runtime.py",
line 24, in <module>
     _gnuradio_core_runtime = swig_import_helper()
   File
"/opt/radio/lib64/python2.7/site-packages/gnuradio/gr/gnuradio_core_runtime.py",
line 20, in swig_import_helper
     _mod = imp.load_module('_gnuradio_core_runtime', fp, pathname,
description)
ImportError: libgnuradio-core-3.6.4git.so.0.0.0: cannot open shared
object file: No such file or directory

The problem is that libgnuradio-core-3.6.4git.so.0.0.0 is installed 3
levels higher, together with a number of other libgn... modules:
[graeme@handel Apps]$ locate libgnuradio-core-3.6.4git.so.0.0.0
/opt/radio/lib64/libgnuradio-core-3.6.4git.so.0.0.0
and adding /opt/radio/lib64 to PYTHONPATH has no effect.
I would be grateful for your comments.
--
Grimble
Registered Linux User #450547
Running KDE 4.6.5 on 2.6.39.4-5.1-desktop kernel.
Mandriva Linux release 2011.0 (Official) for x86_64
Posted by Josh Blum (Guest)
on 2013-02-09 17:45
(Received via mailing list)
On 02/09/2013 07:57 AM, Graeme Gemmill wrote:
>     from gnuradio_core import *
> line 20, in swig_import_helper
> I would be grateful for your comments.
library directories should be in the LD_LIBRARY_PATH environment
variable (on linux for example)

executable directories should go in the PATH environment variable

-josh
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.