ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2 cannot open shared object file

asked 2013-06-14 02:49:51 -0500

jep31 gravatar image

updated 2014-01-31 13:47:20 -0500

tfoote gravatar image

I was using a package done by myself on fuerte and I have moved this package on Turtlebot which is on electric. But it's not working on electric, I have a error message when I execute roslaunch mypackage mylaunchfile.launch:

error while loading shared libraries: cannot open shared object file: No such file or directory 
process[vision_odometrie-1]: started with pid [30562] [vision_odometrie-1] process has died [pid 30562, exit code 127]. log files: /home/turtlebot/.ros/log/2827a526-d4ef-11e2-a445-047d7b6f6b57/vision_odometrie-1*.log

The rosmake works without error and I have in my directory /geometry/tf/lib

If I write: ldd bin/vision_odometrie => /opt/ros/electric/stacks/geometry/tf/lib/ (0x00007f356cd0f000)

I have added this line on my .bashrc but that doesn't solve the problem:

export LD_LIBRARY_PATH="/opt/electric/stacks/geometry/tf/"

( I cannot do all the update because the linux version is old: Lucid Lynx 10.04LTS )

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-06-20 09:41:23 -0500

jastr gravatar image

Try running make clean in the package that throws the error, and then make .

edit flag offensive delete link more


Thanks for your answer. I did that and it's now working well. On the other side I have modified other stupid mistakes so I'm not sure my question was relevant.

jep31 gravatar image jep31  ( 2013-06-24 04:07:04 -0500 )edit

Question Tools

1 follower


Asked: 2013-06-14 02:49:51 -0500

Seen: 2,178 times

Last updated: Jun 20 '13