Problem with linking libraries

Hello everyone,
I’m getting this error while importing
gnuradio packages.

from gnuradio import gr
Traceback (most recent call last):
File “”, line 1, in ?
File “/usr/local/lib/python2.4/site-packages/gnuradio/gr/init.py”,
line 27, in ?
from gnuradio_swig_python import *
File
“/usr/local/lib/python2.4/site-packages/gnuradio/gr/gnuradio_swig_python.py”,
line 23, in ?
from gnuradio_swig_py_runtime import *
File
“/usr/local/lib/python2.4/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.py”,
line 6, in ?
import _gnuradio_swig_py_runtime
ImportError: libgnuradio-core.so.0: cannot open shared object file: No
such file or directory

The file libgnuradio-core.so.0 is present in /usr/local/lib. This is
the second time i’m installing gnuradio. During the first installation,
i had not installed wxPython and all the examples not involving wx
worked just fine. However after the installation of wxPython during the
second installation, python could’nt find libpango. So i added
-lpangox-1.0 to EXTRALIBS_GUI in the makefile and reinstalled wxPy after
i came across a similar problem someone else had while digging through
the gnuradio archives. wxPy works now. Do you think this has anything
to do with the problem i have now? I’m a beginner and don’t know linux
that well. Any help will be greatly appreciated.
Thankyou in advance

Sriram

On 2/28/08, sriram s [email protected] wrote:

ImportError: libgnuradio-core.so.0: cannot open shared object file: No such
file or directory

You likely need to run:

$ sudo ldconfig

…in order for the system to “learn” the new libraries that have been
installed.


Johnathan C.
Corgan Enterprises LLC
http://corganenterprises.com/