On 12/21/09 7:42 PM, pavicic wrote: > On Mon, Dec 21, 2009 at 03:58:35PM -0500, Alexander Hansen wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 12/21/09 3:34 PM, pavicic wrote: >> >>> On Mon, Dec 21, 2009 at 01:01:18PM -0500, Alexander Hansen wrote: >>> >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA1 >>>> On 12/21/09 12:02 PM, pavicic wrote: >>>> >>>>> 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 >>>> >>> # dpkg -S /sw/bin/msgfmt >>> gettext-tools: /sw/bin/msgfmt >>> >>> I didn't install anything in the meantime. I'm still getting: >>> >>> # fink list -it gettext >>> Information about 3279 packages read in 0 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) >>> >>> When I try to install gettext I get: >>> >>> # fink install gettext >>> Information about 3279 packages read in 1 seconds. >>> No packages to install. >>> >>> what means that it is installed. >>> >>> Mladen. >>> >>> >>> >> As noted in your "fink list" above, gettext is shown as installed, so >> that's not surprising. (nor is it actually relevant in this case, >> because the 'gettext' package is actually the library package that >> provides libintl.1.dylib for old applications). >> >> The important package here is "gettext-tools". What do you get from >> "fink list -t" gettext-tools ? >> > # fink list -t gettext-tools > Information about 3279 packages read in 0 seconds. > *i* gettext-tools 0.17-17 GNU Internationalization utils (shared > libs) > > By some chance did you revert from unstable to stable? That's about the only way I can think of for you to have that version of gettext-tools and have it be listed as "not in the distribution". If you want to do that more cleanly, then try "fink remove gettext-tools ; fink rebuild gettext-tools ; fink reinstall gettext-tools" to make sure that you install the older gettext-tools version which uses libgettext3 (which probably came over with 10.5) instead of libgettext8.
------------------------------------------------------------------------------ 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
