discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] ImportError: libgnuradio-core.so.0


From: Mattias Kjellsson
Subject: Re: [Discuss-gnuradio] ImportError: libgnuradio-core.so.0
Date: Sun, 19 Oct 2008 16:39:57 +0200
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

ML wrote:

Hi there...

I have this error appear when I try to run any examples:

Traceback (most recent call last):

                File “./dial_tone.py”, line 23, in <module>

                                from gnuradio import gr

File “/usr/local/lib/python2.5/site-packages/gnuradio/gr/__init__.py”, line 43, in <module>

                                from gnuradio_swig_python import *

File “/usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_python.py”, line 23, in <module>

                                from gnuradio_swig_py_runtime import *

File “/usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.py”, line 6, in <module>

                                import _gnuradio_swig_py_runtime

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

Same error if I try to import gnuradio.gr from within Python.

My Linux distro is openSUSE 11.0 and I downloaded gnuradio using svn. The parts not set up by ./configure are audio-osx, audio-windows, audio-jack, audio-portaudio and comedi. Make and make check are error-free.

The files do exist... at /usr/local/lib/ and /home/me/gnuradio/gnuradio-core/src/lib/.libs/

I had a look through some earlier threads regarding this problem and tried ‘sudo ldconfig’, but I get “command not found”.

Are you sure that the location of sbin is in your path. It usually is, but just to be on the safe side, try specifying the path to ldconfig as well.

In my chase that is:
$ which ldconfig
   /sbin/ldconfig
$/sbin/ldconfig

Otherwise it may be sudo that is not recognized, then try:

$su root
PASSWORD FOR ROOT-USER
$which ldconfig
   /sbin/ldconfig
$/sbin/ldconfig

Hope this helps.
BR
Mattias Kjellsson

Can anyone help me with this? I’m getting better with Linux, but still need ‘baby step’ instructions.

Matt






reply via email to

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