[Top][All Lists]

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

Re: [Discuss-gnuradio] And again - installation problems

From: Alexandru Csete
Subject: Re: [Discuss-gnuradio] And again - installation problems
Date: Wed, 24 Nov 2010 11:08:17 +0100

On Wed, Nov 24, 2010 at 6:25 AM, Thunder87 <address@hidden> wrote:
> Installed from git:
> ./bootstrap
> ./configure  --disable-gr-audio-oss --disable-gr-audio-osx
> --disable-gr-audio-portaudio --disable-gr-audio-windows
> --disable-gr-audio-alsa --disable-gr-audio-jack --disable-gr-comedi
> --disable-gr-cvsd-vocoder --disable-gr-gsm-fr-vocoder --disable-gr-msdd6000
> --disable-gr-noaa --disable-gr-pager --disable-gr-radar-mono
> --disable-gr-radio-astronomy --disable-gr-sounder --with-fusb-tech=libusb1
> CFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp"
> CXXFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp"
> make
> make check
> sudo make install
> No errors at all. If I use lsusrp this happens:
> address@hidden:~/gr-ais$ sudo lsusrp
> Traceback (most recent call last):
>  File "/usr/local/bin/lsusrp", line 25, in <module>
>    from gnuradio import usrp
>  File "/usr/local/lib/python2.6/dist-packages/gnuradio/usrp/__init__.py",
> line 25, in <module>
>    from usrp_swig import *
>  File "/usr/local/lib/python2.6/dist-packages/gnuradio/usrp/usrp_swig.py",
> line 24, in <module>
>    _usrp_swig = swig_import_helper()
>  File "/usr/local/lib/python2.6/dist-packages/gnuradio/usrp/usrp_swig.py",
> line 20, in swig_import_helper
>    _mod = imp.load_module('_usrp_swig', fp, pathname, description)
> ImportError: libgnuradio-usrp-3.3.1git.so.0: cannot open shared object file:
> No such file or directory
> I can find it, both in sourcecode folder and installed in system
> address@hidden:~/gr-ais$ sudo find / -iname "libgnuradio-core-3.3.1git.so.0"
> /usr/local/lib/libgnuradio-core-3.3.1git.so.0
> /home/ubuntu/gnuradio/gnuradio-core/src/lib/.libs/libgnuradio-core-3.3.1git.so.0
> Why can't lsusrp find it? I guess something wrong in the way I installed it?

Is /usr/local/lib in the LD_LIBRARY_PATH for root user? (since you
execute with sudo which isn't necessary)
Also be sure to set up udev according to
http://gnuradio.org/redmine/wiki/gnuradio/UbuntuInstall otherwise usrp
will not be recognised.

> Will there be any difference if I had installed with --prefix ?

Yes, everything would then be installed under the specified prefix
rather than /usr/local, but you would still have to add PREFIX/lib to


reply via email to

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