discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Possible problem with file location


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Possible problem with file location
Date: Sat, 09 Feb 2013 10:44:15 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2


On 02/09/2013 07:57 AM, Graeme Gemmill wrote:
> I installed gnuradio to /opt/radio and set
> PYTHONPATH=/opt/radio/lib64/python2.7/site-packages.
> My first test run gave:
> address@hidden 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:
> address@hidden 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.

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



reply via email to

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