[Vm-dev] Solaris vs. iconv: workaround

Andrew Gaylard ag at computer.org
Fri Feb 6 20:02:19 UTC 2009


I've been experiencing Squeak on Solaris printing

    iconv_open: Invalid argument

a zillion times over.

Looking at the mailing list archives, this has been a
problem on and off for a long time.  I first tried
compiling with --disable-iconv, which fixed the error,
but then some of the plugins complained that they
couldn't convert strings.  So I decided against that.

I've managed to work around it by as follows:

    su -
    cd /usr/lib/iconv
    cp mac%alt.so MACINTOSH%UTF-8.so
    cp alt%mac.so UTF-8%MACINTOSH.so

This seems to shut up all the messages.  But I'm
nervous, since I suspect that "alt" probably isn't
the whole of UTF8...

Andrew


More information about the Vm-dev mailing list