On 1/1/13 5:13 AM, Elias Chebli wrote: > After updaing my OS to 10.8, > > the follwing error is occring when running fink selfupdate. > > Any ideas how to solve this problem? > > thanks in advance. > Elias > > > cd src && make install > prefix='/sw/src/fink.build/root-libiconv-1.12-5/sw' > exec_prefix='/sw/src/fink.build/root-libiconv-1.12-5/sw' > libdir='/sw/src/fink.build/root-libiconv-1.12-5/sw/lib' > test `ls -ld . | sed -e 's/^d\(.........\).*/\1/'` = rwxrwxrwx || chmod > 777 . > if [ ! -d /sw/src/fink.build/root-libiconv-1.12-5/sw/bin ] ; then > /bin/sh ../build-aux/mkinstalldirs > /sw/src/fink.build/root-libiconv-1.12-5/sw/bin ; fi > mkdir /sw/src/fink.build/root-libiconv-1.12-5/sw/bin > case "darwin12.2.0" in \ > hpux*) gcc > -L/sw/src/fink.build/libiconv-1.12-5/libiconv-1.12/../_inst/sw/lib -g > -O2 `if test -n ''; then > /sw/src/fink.build/root-libiconv-1.12-5/sw/bin; fi` iconv.o > ../srclib/libicrt.a -L/sw/src/fink.build/root-libiconv-1.12-5/sw/lib > -liconv `if test -n ''; then echo " -Wl,+b > -Wl,/sw/src/fink.build/root-libiconv-1.12-5/sw/lib"; fi` -o iconv;; \ > *) /bin/sh ../libtool --mode=link gcc > -L/sw/src/fink.build/libiconv-1.12-5/libiconv-1.12/../_inst/sw/lib -g > -O2 `if test -n ''; then > /sw/src/fink.build/root-libiconv-1.12-5/sw/bin; fi` iconv.o > ../srclib/libicrt.a ../lib/libiconv.la > /sw/src/fink.build/libiconv-1.12-5/libiconv-1.12/../_inst/sw/lib/libintl.a > -Wl,-framework,CoreFoundation -o iconv;; \ > esac > gcc -g -O2 iconv.o -Wl,-framework -Wl,CoreFoundation -o .libs/iconv > -L/sw/src/fink.build/libiconv-1.12-5/libiconv-1.12/../_inst/sw/lib > ../srclib/libicrt.a ../lib/.libs/libiconv.dylib > /sw/src/fink.build/libiconv-1.12-5/libiconv-1.12/../_inst/sw/lib/libintl.a > ld: warning: ignoring file iconv.o, file was built for i386 which is not > the architecture being linked (x86_64): iconv.o > ld: warning: ignoring file ../srclib/libicrt.a, file was built for > archive which is not the architecture being linked (x86_64): > ../srclib/libicrt.a > ld: warning: ignoring file ../lib/.libs/libiconv.dylib, file was built > for unsupported file format ( 0xce 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 0 0x > 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture > being linked (x86_64): ../lib/.libs/libiconv.dylib > ld: warning: ignoring file > /sw/src/fink.build/libiconv-1.12-5/libiconv-1.12/../_inst/sw/lib/libintl.a, > file was built for archive which is not the architecture being linked > (x86_64): > /sw/src/fink.build/libiconv-1.12-5/libiconv-1.12/../_inst/sw/lib/libintl.a > Undefined symbols for architecture x86_64: > "_main", referenced from: > -u command line option > ld: symbol(s) not found for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > make[1]: *** [install] Error 1 > make: *** [install] Error 2 > ### execution of make failed, exit code 2 > ### execution of /tmp/fink.bLl92 failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-libiconv-1.12-5 > (Lese Datenbank ... 243102 Dateien und Verzeichnisse sind derzeit > installiert.) > Entferne fink-buildlock-libiconv-1.12-5 ... > Failed: phase installing: libiconv-1.12-5 failed > > Before reporting any errors, please run "fink selfupdate" and try again. > > If you continue to have issues, please check to see if the FAQ on Fink's > website solves the problem. If not, ask on one (not both, please) of > these mailing lists: > > The Fink Users List <[email protected]> > The Fink Beginners List <[email protected]>. > > Please try to include the complete error message in your report. This > generally consists of a compiler line starting with e.g. "gcc" or "g++" > followed by the actual error output from the compiler. > > Also include the following system information: > Package manager version: 0.34.4 > Distribution version: selfupdate-rsync Tue Jan 1 12:41:13 2013, 10.8, i386 > Trees: local/main stable/main stable/crypto unstable/main > unstable/crypto local/injected > Xcode.app: 4.5.2 > Xcode command-line tools: 4.5.0.0.1.1249367152 > Max. Fink build jobs: 1 > > > >
Reinstall Fink. We don't support i386 on 10.7 or 10.8. http://finkers.wordpress.com/2009/08/31/starting-anew/ has some general information to try to make the process less painful. I recommend using the script from http://finkers.wordpress.com/2009/08/31/starting-anew/#comment-288 to get your list of installed packages for later reinstall, because we have had reports that dpkg doesn't work for people who have brought an i386 Fink installation to 10.7 or 10.8. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
