discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Error in installation of latest code


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Error in installation of latest code
Date: Fri, 15 Aug 2008 17:54:31 -0700
User-agent: Mutt/1.5.17 (2007-11-01)

On Thu, Aug 14, 2008 at 01:49:27AM -0500, Murtuza wrote:
> Hi
> 
> I did a fresh installation of gnuradio on my Ubuntu Feisty 7.04. I earlier
> had an old installation of gnuradio on the same computer. I did a fresh svn
> installation from the utah.edu trunk instead of an update as the update gave
> me some errors. During installation i had a problem with the 'mblock' module
> but fixed it according to this post
> http://www.mail-archive.com/address@hidden/msg07797.html
> 
> Installation gave me no errors but when i do "from gnuradio import gr" or
> "from gnuradio import gru" I get these errors. I believe there are a few
> imports that do not happen. I do not know why and couldn't find an answer
> for it too. Please help.
> 
> The "import gnuradio " statement doesn't give any error though. The
> PYHTONPATH is also properly set.
> 
> Thanks
> Ali

try:

 $ sudo ldconfig

and also confirm that libgnuradio-core.so.0 is in /usr/local/lib

Eric


> 
> >>> from gnuradio import gr
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   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
> >>> from gnuradio import gru
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/local/lib/python2.5/site-packages/gnuradio/gru/__init__.py",
> line 37, in <module>
>     exec "from gnuradio.gruimpl.%s import *" % (f,)
>   File "<string>", line 1, in <module>
>   File "/usr/local/lib/python2.5/site-packages/gnuradio/gruimpl/lmx2306.py",
> line 25, 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




reply via email to

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