libiconv build failure
Nicholas Riley <[email protected]> Fri, 1 Sep 2006 15:57:58 -0500
| Newsgroups | gmane.os.opendarwin.darwinports |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm trying to upgrade my installation (Mac OS X 10.4.7, MacPorts 1.320) and libiconv is experiencing link errors: ---> Staging libiconv into destroot Error: Target com.apple.destroot returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/libiconv-1.10" && make install DESTDIR=/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/destroot" returned error 2 Command output: libtool: install: warning: remember to run `libtool --finish /opt/local/lib' if test -n ""; then /usr/bin/install -c -m 644 /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/destroot/opt/local/lib/.new && mv /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/destroot/opt/local/lib/.new /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/destroot/opt/local/lib/ ; fi cd srclib && make install prefix='/opt/local' exec_prefix='/opt/local' libdir='/opt/local/lib' make[2]: Nothing to be done for `am--refresh'. make install-am make[3]: Nothing to be done for `am--refresh'. make[4]: Nothing to be done for `am--refresh'. make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. cd src && make install prefix='/opt/local' exec_prefix='/opt/local' libdir='/opt/local/lib' test `ls -ld . | sed -e 's/^d\(.........\).*/\1/'` = rwxrwxrwx || chmod 777 . if [ ! -d /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/destroot/opt/local ] ; then /bin/sh ../build-aux/mkinstalldirs /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/destroot/opt/local ; fi if [ ! -d /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/destroot/opt/local ] ; then /bin/sh ../build-aux/mkinstalldirs /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/destroot/opt/local ; fi if [ ! -d /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/destroot/opt/local/bin ] ; then /bin/sh ../build-aux/mkinstalldirs /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/destroot/opt/local/bin ; fi case "darwin8.7.0" in \ hpux*) gcc `if test -n ''; then /opt/local/bin; fi` iconv.o ../srclib/libicrt.a -L/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/destroot/opt/local/lib -liconv -L/opt/local/lib -lintl -liconv -lc `if test -n '/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/destroot'; then echo " -Wl,+b -Wl,/opt/local/lib"; fi` -o iconv;; \ *) /bin/sh ../libtool --mode=link gcc `if test -n ''; then /opt/local/bin; fi` iconv.o ../srclib/libicrt.a /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/destroot/opt/local/lib/libiconv.la -L/opt/local/lib -lintl -L/opt/local/lib -liconv -lc -R/opt/local/lib -o iconv;; \ esac gcc iconv.o -o iconv ../srclib/libicrt.a -L/opt/local/lib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc /usr/bin/ld: warning multiple definitions of symbol _locale_charset /opt/local/lib/libiconv.dylib(localcharset.o) definition of _locale_charset /opt/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset /usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used /usr/bin/ld: warning prebinding disabled because of undefined symbols /usr/bin/ld: Undefined symbols: _iconv_canonicalize symbol _locale_charset used from dynamic library /opt/local/lib/libiconv.dylib(localcharset.o) not from earlier dynamic library /opt/local/lib/libintl.3.dylib(localcharset.o) collect2: ld returned 1 exit status make[1]: *** [install] Error 1 make: *** [install] Error 2 Error: The following dependencies failed to build: gettext libiconv libungif libuninameslist Error: Status 1 encountered during processing. Any idea how I can fix this problem, or at least get past this build failure (the installed version of libiconv is 1.10, which I don't mind continuing to use)? -- Nicholas Riley <[email protected]> | <http://www.uiuc.edu/ph/www/njriley>