Possible problem with file location

I installed gnuradio to /opt/radio and set
PYTHONPATH=/opt/radio/lib64/python2.7/site-packages.
My first test run gave:
[[email protected] Apps]$ python Test1.py
Traceback (most recent call last):
File “Test1.py”, line 3, in
from gnuradio import gr
File
“/opt/radio/lib64/python2.7/site-packages/gnuradio/gr/init.py”, line
27, in
from gnuradio_core import *
File
“/opt/radio/lib64/python2.7/site-packages/gnuradio/gr/gnuradio_core.py”,
line 23, in
from gnuradio_core_runtime import *
File
“/opt/radio/lib64/python2.7/site-packages/gnuradio/gr/gnuradio_core_runtime.py”,
line 24, in
_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:
[[email protected] 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

On 02/09/2013 07:57 AM, Graeme G. 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

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