Koen van der Drift wrote: > A package I am working on gives the following warning on my iMac G5: > > ... > ld warning: in /sw/lib/qt4-x11/lib/libQtGui.dylib, file is not of > required architecture > ld warning: in /sw/lib/libpng.dylib, file is not of required > architecture > ld warning: in /sw/lib/libfreetype.dylib, file is not of required > architecture > ld warning: in /sw/lib/qt4-x11/lib/libQtCore.dylib, file is not of > required architecture > ld warning: in /sw/lib/libgthread-2.0.dylib, file is not of required > architecture > ld warning: in /sw/lib/libglib-2.0.dylib, file is not of required > architecture > ld: in /sw/lib/libexpat.0.dylib, file is not of required architecture > for architecture i386 > collect2: ld returned 1 exit status > ld warning: option -noall_load is obsolete and being ignored > > > And then it fails as follows: > > lipo: can't open input file: /var/tmp//ccKAmfsU.out (No such file or > directory)
What's the actual linker line that's giving those warnings/errors? Also, what's the output of file -L /sw/lib/qt4-x11/lib/libQtCore.dylib and in that linker line, there should be several *.o files listed. Find the location of one in the source tree and repeat the 'file -L' command for it. The architecture should be powerpc for both since you're on a G5. Hanspeter -- Hanspeter Niederstrasser hanspeter at snaggledworks.com ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel