On Tue, 29 Jul 2008, Arun Tangirala wrote:
Thank you for providing the image file for Gretl 1.6.5.
However, when I load the application on Leopard, I receive the following
error (with a crash):
Dyld Error Message:
Library not loaded: /usr/lib/libiconv.2.dylib
Referenced from: /usr/X11R6/lib/libXft.2.dylib
Reason: Incompatible library version: libXft.2.dylib requires version
7.0.0 or later, but libiconv.2.dylib provides version 5.0.0...
I also ran otool on /usr/lib/libiconv.2.dylib and here is the
output:
/usr/lib/libiconv.2.dylib:
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version
7.0.0) ...
The otool output on the dylib under MacOS10.4u.sdk/usr/lib shows
compatibility only with 5.0.0. However, Gretl seems to have a
complaint with /usr/lib/libiconv.2.dylib. I am puzzled.
Well, it's not gretl that's complaining, it's the OS X dynamic
linker, Dyld. This is confusing. I can think of two
possibilities.
(a) Is there a libiconv dylib in the gretl installation directory?
I can't remember offhand. But if there is, you might moving it
out of the way and see if that helps.
(b) The gretl DMG was compiled on an older OS X version. Maybe
the linker is looking for an older libiconv.2.dylib to match??
That is, maybe it's really loading from MacOS10.4u.sdk/usr/lib
even though it says "/usr/lib"?
Allin Cottrell