Hi Muhammad,

You're right, now it's working.
Thank you so much.

Regards,
Cyril


2011/12/2 Muhammad Rosli <muhd7ro...@gmail.com>

> Hi,
>
> It's because gnuradio cannot find your share file. Try to set environment
> variable of LD_LIBRARY_PATH and PYTHONPATH. For example, if you are
> installing gnuradio using default setting, you can setup the environment
> path in terminal as follow
>
> export LD_LIBRARY_PATH=/usr/local/lib
> export PYTHONPATH=/usr/local/lib/<python version>/dist-packages
> or
> export PYTHONPATH=/usr/local/lib/<python version>/site-packages
>
> where <python version> depends on what python version is installed.
>
> Before you set the environment path, please check
> that  libgnuradio-core-3.5.0rc0.so.0 is in /usr/local/lib and there are
> gnuradio folder inside the python path.
>
> Regards,
> Muhammad
>
> On Sat, Dec 3, 2011 at 7:54 AM, Cyril Cavel <cyril.ca...@gmail.com> wrote:
>
>> Hello,
>>
>> I installed Gnuradio on Ubuntu 10_04, following instructions on :
>> http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall
>>
>> Everything seems to be ok until I try :
>> sat-ais@sat-ais-laptop:/usr/local/share/gnuradio/examples/audio$ python
>> dial_tone.py
>>
>> to test correct installation of Gnuradio. I got the following error :
>>
>> sat-ais@sat-ais-laptop:/usr/local/share/gnuradio/examples/audio$ python
>> dial_tone.py
>> Traceback (most recent call last):
>>   File "dial_tone.py", line 23, in <module>
>>     from gnuradio import gr
>>   File "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/__init__.py",
>> line 43, in <module>
>>     from gnuradio_core import *
>>   File
>> "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core.py", line
>> 23, in <module>
>>     from gnuradio_core_runtime import *
>>   File
>> "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_runtime.py",
>> line 24, in <module>
>>     _gnuradio_core_runtime = swig_import_helper()
>>   File
>> "/usr/local/lib/python2.6/dist-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.5.0rc0.so.0: cannot open shared object
>> file: No such file or directory
>>
>> Does anybody know what the problem is please ?
>> I have to say that I'm a beginner on Linux, I already successfully built
>> Gnuradio on Windows using Cygwin, and now I need to install it on Ubuntu.
>>
>> Thanks a million for your help.
>>
>> Cyril
>>
>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>>
>
>
> --
> Regards,
> Muhammad b Rosli
> Student
> Bachelor of Electrical and Electronic
> University of Canterbury
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to