Koen van der Drift wrote:
[]
> Thanks, Dan. How can I find out if -install_name was set correctly? Is
> there a way to fix this with a patch or do I need to contact the
> upstream developers? The package did switch from using make to cmake,
> could that be related to it?

Use, for example, the cmake flags

   -DCMAKE_INSTALL_PREFIX:PATH=%p \
   -DCMAKE_INSTALL_NAME_DIR:STRING=%p/lib \
   -DBUILD_SHARED_LIBS:BOOL=ON \
   -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF

This will set, during compile time, the install_name to

   %b/build/src/libopenbabel.3.dylib

and after "make install DESTDIR=%d", it will change the install_name to

   %p/lib/libopenbabel.3.dylib

-- 
Martin

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to