[Adium-devl] Not-working patch for 64 bit glib

Toby Peterson toby.peterson at gmail.com
Sat Oct 11 23:42:15 UTC 2008


On Fri, Oct 10, 2008 at 9:10 AM, David Smith <catfish.man at gmail.com> wrote:
> http://dscoder.com/broken64bitdeps.diff
>
> Seems to be breaking due to not finding iconv for the 64 bit glib build.

I saw this issue when I was looking at it...

% nm -arch i386 /usr/lib/libiconv.dylib | grep iconv_open              ~
000150bd T _iconv_open
00015825 T _libiconv_open
% nm -arch x86_64 /usr/lib/libiconv.dylib | grep iconv_open            ~
0000000000014b24 T _iconv_open

The 64-bit library only provides the POSIX iconv API, but not the
GNU-specific libiconv* functions that glib seems to expect. Simplest
solution would be to add GNU libiconv to the list of adium deps,
although you could probably trick glib into looking for and using the
iconv* functions...

- Toby




More information about the devel mailing list