Error while loading shared libraries: cannot open shared object file: No such file or directory [closed]

asked 2012-04-02 05:00:42 -0500

tefp gravatar image

updated 2012-04-02 05:02:26 -0500

It happens when I try to launch stageros (on Ubuntu Oneiric, Ros electric desktop full):

rosrun stage stageros

ex.:

/opt/ros/electric/stacks/stage/bin/stageros: error while loading shared libraries: librostime.so: cannot open shared object file: No such file or directory

I try adding files to environmental variable:

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/opt/ros/electric/stacks/stage/lib:/opt/ros/electric/stacks/perception_pcl/ros_comm/clients/cpp/roscpp/lib:/opt/ros/electric/stacks/perception_pcl/ros_comm/clients/cpp/roscpp_serialization/lib:/opt/ros/electric/stacks/perception_pcl/ros_comm/tools/rosconsole/lib

one after another... but got bored and frustrated (don't know how many I would have to add) It seems to me ROS doesn't know where his library files are. How to fix it?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2014-12-07 00:59:25.461063

Comments

1

How did you install ROS and stageros?

Mac gravatar image Mac  ( 2012-04-02 11:50:51 -0500 )edit

small suggestion..try to search for librostime.so file and move it to default library file location in system. Also findout if the ROS and ubuntu version which u r using are compatible with what u want

sai gravatar image sai  ( 2012-10-19 18:00:51 -0500 )edit