Sebastian Hagedorn wrote:
[]
dyld: Library not loaded: /sw/lib/libiconv.2.dylib
Referenced from: /sw/lib/libintl.1.dylib
Reason: Incompatible library version: libintl.1.dylib requires version
6.0.0 or later, but libiconv.2.dylib provides version 5.0.0
[]
[]
otool -L /sw/lib/libiconv.2.dylib
/sw/lib/libiconv.2.dylib:
/sw/lib/libiconv.2.dylib (compatibility version 6.0.0, current
version 6.0.0)
[]
So the version number appears to be correct (6.0.0). However:
otool -L /usr/lib/libiconv.2.dylib
/usr/lib/libiconv.2.dylib:
/usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current
version 5.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.0.0)
The version that comes with Tiger is 5.0.0. So is fink somehow using the
wrong lib?
It is not fink that is using the wrong lib, it is Apple's [EMAIL PROTECTED]&@ dynamic
linker that is not understanding Darwin's own dynamic library system any
more, with install_name and related things. In the case at hand (and
this has been observed a couple of times), it gets the order to load
/sw/lib/libiconv.2.dylib, sees /usr/lib/libiconv.2.dylib and loads this,
then notices that the compatibility_versions don't match, crashes and
tries to blame the completely innocent /sw/lib/libiconv.2.dylib instead
of its own stupidity.
This bug is the result of some brain surgery (AKA "optimization") that
Tiger's dyld underwent in order to make it faster. There is some hope
that the bug will be fixed in 10.4.3, but I have no information if this
is true.
In some cases, setting DYLD_FALLBACK_LIBRARY_PATH=: helped, but this is
already done by recent versions of fink when it builds packages, so it
should already be set in your case. You don't have the variable
DYLD_LIBRARY_PATH set, perhaps?
--
Martin
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users