[Insight-users] OS X Install_Name setting on Libraries.
Michael Jackson
mike.jackson at bluequartz.net
Mon Jun 8 11:39:38 EDT 2009
Is there a hidden setting in the CMake files to enable the use of the
"install_name" on ITK dynamic libraries built on OS X?
I build ITK 3.14.0 with SHARED_LIBRARIES=ON, installed to my
preferred CMAKE_INSTALL_PREFIX location, built my project and tried to
launch and I get the dreaded error that the itk libraries can not be
found. And yet when I check my build directory and pick an ITK library
and inspect it using otool, the install_name is set for the build
directory. So I guess these are stripped off during the installation?
Why? If they can be stripped off, why can't they be changed to the
installation path?
Or is this preferred way to use ITK as static libraries? Or from the
Build directory?
_________________________________________________________
Mike Jackson mike.jackson at bluequartz.net
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio
More information about the Insight-users
mailing list