[Insight-users] ITK, OS X and install_name

Brad King brad.king at kitware.com
Thu Aug 17 09:03:54 EDT 2006


Zachary Pincus wrote:
> Hi folks,
> 
> I've been out of the loop for a little while on ITK, so apologies if
> this question has come up before. (I can't find it in the archives though.)
> 
> Anyhow, I just cvs-updated and rebuilt ITK on my OS X machine. This
> time, I took the step of installing ITK into a shared directory so other
> users could link to the ITK libraries. However, this doesn't work
> because the ITK build process is not setting any install_name for the
> installed ITK libraries. So while the linker can find the libraries at
> build time, the loader can't find them at runtime because there is no
> install_name. The only way to make things work is to always remember to
> set the DYLD_LIBRARY_PATH environment variable to point to the place
> that the ITK libraries live. (Or to put the ITK libs in one of the
> default load directories like /usr/lib/.)
> 
> I think that CMake now has the ability to include a proper install_name
> for libraries, so that this sort of muppetry can be avoided. (See e.g.
> http://mail.kde.org/pipermail/kde-buildsystem/2006-February/001426.html
> ) Is support for install_name planned for ITK on OS X?
> 
> If so, can I help with that in any way?

Please submit a feature request to the bug tracker for this and assign
it to me.  We can discuss the design there to make sure it is documented.

Thanks,
-Brad


More information about the Insight-users mailing list