Ask Your Question
0

roscore problem as no library found here

asked 2016-06-07 22:05:17 -0600

jimmyjiao gravatar image

updated 2016-06-08 06:18:49 -0600

gvdhoorn gravatar image

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?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-06-08 22:45:10 -0600

jimmyjiao gravatar image

Found solution: $ cd ros_catkin_ws/install_isolated/lib for n in *.dylib; do ln -s $PWD/$n /usr/local/lib/$n; done

edit flag offensive delete link more

Comments

This may be a short term workaround, but it is not a sustainable solution. @William fyi

tfoote gravatar imagetfoote ( 2016-06-09 15:48:08 -0600 )edit
0

answered 2016-06-09 16:10:17 -0600

William gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-06-07 22:05:17 -0600

Seen: 333 times

Last updated: Jun 09 '16