-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/21/09 12:02 PM, pavicic wrote:
> 
> Hi!
> 
> On Mon, Dec 21, 2009 at 11:40:34AM -0500, Alexander Hansen wrote:
>> On 12/21/09 11:31 AM, Daniel Macks wrote:
>>> On Mon, Dec 21, 2009 at 11:13:31AM -0500, Alexander Hansen wrote:
>>>>> file=`echo af | sed 's,.*/,,'`.gmo \
>>>>>     && rm -f $file && /sw/bin/msgfmt -o $file af.po
>>>>> dyld: Library not loaded: /sw/lib/libintl.8.dylib
>>>>>   Referenced from: /sw/bin/msgfmt
>>>>>   Reason: no suitable image found.  Did find:
>>>>>   /sw/lib/libintl.8.dylib: mach-o, but wrong architecture
>>>>> /bin/sh: line 1: 74153 Trace/BPT trap          /sw/bin/msgfmt -o $file
>>>>> af.po
>>> [...]
>>>>> Failed: phase compiling: gnome-mime-data-2.18.0-3 failed
>>>>
>>>> What do you get from the following commands?
>>>>
>>>>    otool -L /sw/lib/libintl.8.dylib
> 
> # otool -L /sw/lib/libintl.8.dylib
> /sw/lib/libintl.8.dylib:
>       /sw/lib/libintl.8.dylib (compatibility version 9.0.0, current
> version 9.2.0)
>       /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 125.0.0)
>       
> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
> (compatibility version 150.0.0, current version 550.13.0)
> 
>>>>    fink -V | head -n 2
> 
> # fink -V | head -n 2
> Package manager version: 0.29.10
> Distribution version: selfupdate-rsync Mon Dec 21 15:39:54 2009, 10.6,
> i386
> 
>>> Also 'otool -L /sw/bin/msgfmt' and 'fink list -it gettext' please.
>  
> # tool -L /sw/bin/msgfmt
> /sw/bin/msgfmt:
>       
> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
> (compatibility version 150.0.0, current version 550.13.0)
>       /sw/lib/libgettextsrc-0.17.dylib (compatibility version 0.0.0,
> current version 0.0.0)
>       /sw/lib/libgettextlib-0.17.dylib (compatibility version 0.0.0,
> current version 0.0.0)
>       /sw/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0,
> current version 5.0.0)
>       /sw/lib/libintl.8.dylib (compatibility version 9.0.0, current
> version 9.2.0)
>       /sw/lib/libiconv.2.dylib (compatibility version 7.0.0, current
> version 7.0.0)
>       /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 125.0.0)
> 
> # fink list -it gettext
> Information about 3279 packages read in 1 seconds.
>  i    gettext 0.10.40-126     Message localization support
>  i    gettext-bin     0.17-19 GNU Internationalization utilities
>  i    libgettext3-dev 0.14.5-4        GNU Internationalization
> utilities (Development Files)
>  i    libgettext3-shlibs      0.14.5-4        GNU Internationalization
> utils (shared libs)
>  i    libgettext8-shlibs      0.17-19 GNU Internationalization utils
> (shared libs)
> 
>> And also
>>
>>      file /sw/lib/libintl.8.dylib
>>      file /sw/bin/msgfmt
> 
> # file /sw/lib/libintl.8.dylib
> /sw/lib/libintl.8.dylib: Mach-O 64-bit dynamically linked shared library
> x86_64
> 
> # file /sw/bin/msgfmt
> /sw/bin/msgfmt: Mach-O executable i386
> 
> 
> Mladen.
> 
>

Aha!

libintl.8.dylib is set up as 64 bit (which appears to be a bug in our
packaging), while the msgfmt executable which is supposed to use it is
built for 32, and that's causing your error.

Though it's surprising that you don't have gettext-tools installed.
What do you get from

        dpkg -S /sw/bin/msgfmt

?

- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksvt+4ACgkQB8UpO3rKjQ/kAwCeP7vTdj/JcjWzE9y/YlNZTpZZ
XFcAn3SBDXn8Rcp3bNHPc7ykTOpEYtHb
=P+nG
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to