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

David Smith catfish.man at gmail.com
Tue Oct 14 04:03:13 UTC 2008


On Oct 11, 2008, at 4:42 PM, Toby Peterson wrote:

> 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

Thanks for the tip :) Adding GNU libiconv as a dep and updating to  
glib 2.18.1 appears to have done the trick. http://dscoder.com/fixed64bitdeps.diff 
  is the updated patch.

Unfortunately, developer.pidgin.im is down and I don't have a pidgin  
checkout, so I can't test building libpurple yet.

		David




More information about the devel mailing list