[ros-users] Shared object files (libroslib.so)

Cedric Pradalier cedric.pradalier at mavt.ethz.ch
Mon Jul 12 14:33:54 UTC 2010


On 07/12/10 16:29, ibwood wrote:
> Hi all,
>
> I have had a bit of trouble with shared object files. I get an error when I
> try to run a node and I'm not sure why. I have the "libroslib.so" file
> located in the "lib" package of my project. The error that comes up is the
> following:
>
> " error while loading shared libraries: libroslib.so: cannot open shared
> object file: No such file or directory "
>
> -Ian
>
>
>    

Hello Ian,

You can use the LD_LIBRARY_PATH environment variable to define where you 
system is looking for libraries.

You can also use ldd <binary name> to find out which libraries are used, 
and where they are found.

HTH

-- 
Dr. Cedric Pradalier
http://www.asl.ethz.ch/people/cedricp




More information about the ros-users mailing list