[Bug 924] New: install_name_tool path is not getting set correctly

http://bugs.orocos.org/show_bug.cgi?id=924

Summary: install_name_tool path is not getting set correctly
Product: KDL
Version: 1.0.1
Platform: All
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P3
Component: Build system
AssignedTo: orocos-dev [..] ...
ReportedBy: wjwwood [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Created attachment 765
--> http://bugs.orocos.org/attachment.cgi?id=765
Patches the build system to properly use install_name_tool to set the dylib's
rpath on OS X.

On OS X the install_name_tool is used to set the rpath for the library so it
can be located at runtime, this is not being set which results in a message
like:

dyld: Library not loaded: liborocos-kdl.1.1.dylib
Referenced from:
/Users/william/ros/robot_model/robot_state_publisher/bin/state_publisher
Reason: image not found

For programs linked against kdl.

The attached patch fixes this by adding this setting to the CMake properties
for the orocos_kdl and orocos_kdl_models targets.

Attached patch is for git commit ffdeaad.

[Bug 924] install_name_tool path is not getting set correctly

http://bugs.orocos.org/show_bug.cgi?id=924

Ruben Smits <ruben [dot] smits [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |ruben [dot] smits [..] ...en.b
| |e
Resolution| |FIXED