On 30-Jul-08, at 1:53 AM, Allin Cottrell wrote:


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.


Thank you very much for that help. It worked. I simply moved that library to a different location and there was no problem.

(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"?

I think it was loading the lib in the gretl package. The reason I say this is because when I renamed the library in the 10.4u.sdk/usr/lib directory, the complaint persisted. The complaint vanished as soon as I followed your suggestion above.

However, there is a minor problem that is still persisting. I can open gretl by typing ./gretl from the terminal window but unable to open by double clicking the Gretl icon from Finder. Previously it gave a report (which is what I reported earlier) but now the icon bounces in the dock and then simply disappears. Is it due to the fact that I receive two warnings at the terminal window when I invoke it by typing ./gretl?

(gretl_x11:46818): Gdk-WARNING **: locale not supported by Xlib

(gretl_x11:46818): Gdk-WARNING **: can not set locale modifiers
old read_rc
set_lcnumeric: getenv("LANG") gave NULL
old write_rc

Thank you very much once again for your timely help!

best regards
Arun



Allin Cottrell_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users

=========================
Arun Tangirala
Assistant Professor
Department of Chemical Engineering
IIT Madras, Chennai 600036
Ph:  91-44-22574181 
Fax: 91-44-22574152
=========================