osx: rosrun cannot find librospack dynamic library
I installed ros (kinetic) on my Mac Sierra 10.12.6. It seems to be up and running as it has no problem with roscore
. Though, when I want to run the turtlesim
package, it gives me an error:
dyld: Library not loaded: @rpath/librospack.dylib
Referenced from: ~/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
The folder containing the librospack.dylib
file is already included in the DYLD_LIBRARY_PATH
but I have no idea why it cannot find the library.