roscore problem as no library found here
Hi, I just installed ROS on my mac (EI captain few days ago) When I execute rosrun, I got problem like this:
...
process[rosout-1]: started with pid [23531]
[rosout-1] process has died [pid 23531, exit code -5, cmd /Users/jj/ros_catkin_ws/install_isolated/lib/rosout/rosout __name:=rosout __log:=/Users/jj/.ros/log/cf4fd130-2d24-11e6-b7fe-a45e60bebab7/rosout-1.log].
log file: /Users/jj/.ros/log/cf4fd130-2d24-11e6-b7fe-a45e60bebab7/rosout-1*.log
[rosout-1] restarting process
dyld: Library not loaded: libroscpp.dylib
Referenced from: /Users/jj/ros_catkin_ws/install_isolated/lib/rosout/rosout
Reason: image not found
process[rosout-1]: started with pid [23532]
[rosout-1] process has died [pid 23532, exit code -5, cmd /Users/jj/ros_catkin_ws/install_isolated/lib/rosout/rosout __name:=rosout __log:=/Users/jj/.ros/log/cf4fd130-2d24-11e6-b7fe-a45e60bebab7/rosout-1.log].
log file: /Users/jj/.ros/log/cf4fd130-2d24-11e6-b7fe-a45e60bebab7/rosout-1*.log
[rosout-1] restarting process
dyld: Library not loaded: libroscpp.dylib
Referenced from: /Users/jj/ros_catkin_ws/install_isolated/lib/rosout/rosout
Reason: image not found
And when I run:
rosrun turtlesim turtlesim_node
dyld: Library not loaded: librospack.dylib
Referenced from: /Users/jj/ros_catkin_ws/install_isolated/bin/rospack
Reason: image not found
find: ftsopen: No such file or directory
[rosrun] Couldn't find executable named turtlesim_node below
find: ftsopen: No such file or directory
I had the same problem.
Any suggestions?
Asked by jimmyjiao on 2016-06-07 22:05:17 UTC
Answers
Found solution: $ cd ros_catkin_ws/install_isolated/lib for n in *.dylib; do ln -s $PWD/$n /usr/local/lib/$n; done
Asked by jimmyjiao on 2016-06-08 22:45:10 UTC
Comments
This may be a short term workaround, but it is not a sustainable solution. @William fyi
Asked by tfoote on 2016-06-09 15:48:08 UTC
This might help: https://github.com/ros/catkin/pull/784
Asked by William on 2016-06-09 16:10:17 UTC
Comments