Error while loading shared libraries: libusrp.so.0

Hi all!

I have a strange problem to link the libusrp in C++.
I get some errors like this:
error while loading shared libraries: libusrp.so.0: cannot open shared
object file: No such file or directory

I can find all these files

/usrp/host/lib/legacy/.libs/libusrp.lai
/usrp/host/lib/legacy/.libs/libusrp.so.0.0.0
/usrp/host/lib/legacy/.libs/libusrp.la
/usrp/host/lib/legacy/.libs/libusrp.so
/usrp/host/lib/legacy/.libs/libusrp.so.0
/usrp/host/lib/legacy/libusrp.la

So I am very confusing with this. I have this problem in gnuradio 3.1.2,
3.1.1 also 3.1.0. Now I am using 3.1.0 on debian. Can anyone give me
some
suggestions?

Brandie!

View this message in context:
http://www.nabble.com/error-while-loading-shared-libraries%3A-libusrp.so.0-tp19957089p19957089.html
Sent from the GnuRadio mailing list archive at Nabble.com.

I have the same problem in 3.1.3.
I can see all these files but can not link the lib in C++.

Eric B. wrote:

I can find all these files
some
Eric


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page


View this message in context:
http://www.nabble.com/error-while-loading-shared-libraries%3A-libusrp.so.0-tp19957089p19960524.html
Sent from the GnuRadio mailing list archive at Nabble.com.

On Mon, Oct 13, 2008 at 08:28:47AM -0700, brandie wrote:

/usrp/host/lib/legacy/.libs/libusrp.lai
Brandie!
First off, why 3.1.0 instead of 3.1.3? We do fix bugs…

For information on the broken version of libtool shipped with Debian
and Ubuntu, and a suggested work-around, please see
http://gnuradio.org/trac/wiki/UbuntuInstall#BrokenlibtoolonDebianandUbuntu

Eric

On Mon, Oct 13, 2008 at 11:45:43AM -0700, brandie wrote:

I have the same problem in 3.1.3.
I can see all these files but can not link the lib in C++.

A. Did you do a “make install”
B. Did you read and follow the instructions here:
http://gnuradio.org/trac/wiki/UbuntuInstall#BrokenlibtoolonDebianandUbuntu

Eric

after doing “make install” try a sudo /sbin/ldconfig

Karthik

Thanks for your suggestion!
It works!

Karthik Vijayraghavan wrote:

[email protected]
Discuss-gnuradio Info Page


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page


View this message in context:
http://www.nabble.com/error-while-loading-shared-libraries%3A-libusrp.so.0-tp19957089p19966448.html
Sent from the GnuRadio mailing list archive at Nabble.com.