Error while loading shared libraries: cannot open shared object file: No such file or directory [closed]
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?
How did you install ROS and stageros?
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