[MacPorts] #22493: Incompatible library version
MacPorts
noreply at macports.org
Wed Nov 11 23:08:52 PST 2009
#22493: Incompatible library version
------------------------------------------------------------+---------------
Reporter: vash_the__typhoon@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: High | Milestone:
Component: base | Version: 1.8.1
Keywords: Incompatible library version, libiconv.2.dylib | Port: freetype
------------------------------------------------------------+---------------
I tried to upgrade my ports today only to have Macports fail and cause
problems to my system.[[BR]]
I've searched the net and tickets for this, and although there are many
tickets with a similar problem of incompatible library version, none that
I found have a solution.
Here are the commands I ran:[[BR]]
{{{
sudo port selfupdate
}}}
[[BR]]
which claimed that it updated to version 1.8.1 and I should upgrade the
installed ports, so I run[[BR]]
{{{
sudo port upgrade installed
---> Computing dependencies for gperf
---> Fetching gperf
---> Attempting to fetch gperf-3.0.4.tar.gz from
http://mirror.internode.on.net/pub/gnu/gperf
---> Attempting to fetch gperf-3.0.4.tar.gz from
http://mirror.aarnet.edu.au/pub/GNU/gperf
---> Attempting to fetch gperf-3.0.4.tar.gz from
http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/gperf
---> Attempting to fetch gperf-3.0.4.tar.gz from
http://distfiles.macports.org/gperf
---> Attempting to fetch gperf-3.0.4.tar.gz from
http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/gperf
---> Attempting to fetch gperf-3.0.4.tar.gz from
ftp://ftp.dti.ad.jp/pub/GNU/gperf
---> Verifying checksum(s) for gperf
---> Extracting gperf
---> Configuring gperf
---> Building gperf
---> Staging gperf into destroot
---> Installing gperf @3.0.4_0
---> Activating gperf @3.0.4_0
---> Cleaning gperf
---> Computing dependencies for libiconv
---> Fetching libiconv
---> Attempting to fetch libiconv-1.13.tar.gz from
http://mirror.internode.on.net/pub/gnu/libiconv
---> Attempting to fetch libiconv-1.13.tar.gz from
http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/libiconv
---> Attempting to fetch libiconv-1.13.tar.gz from
http://mirror.aarnet.edu.au/pub/GNU/libiconv
---> Attempting to fetch libiconv-1.13.tar.gz from
http://distfiles.macports.org/libiconv
---> Attempting to fetch libiconv-1.13.tar.gz from
http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/libiconv
---> Attempting to fetch libiconv-1.13.tar.gz from
ftp://ftp.dti.ad.jp/pub/GNU/libiconv
---> Verifying checksum(s) for libiconv
---> Extracting libiconv
---> Applying patches to libiconv
---> Configuring libiconv
---> Building libiconv
---> Staging libiconv into destroot
---> Deactivating libiconv @1.12_0
---> Computing dependencies for libiconv
---> Installing libiconv @1.13_0
---> Activating libiconv @1.13_0
---> Cleaning libiconv
---> Computing dependencies for ncursesw
---> Fetching ncursesw
---> Attempting to fetch ncurses-5.7.tar.gz from
http://mirror.internode.on.net/pub/gnu/ncurses
---> Attempting to fetch ncurses-5.7.tar.gz from
http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/ncurses
---> Attempting to fetch ncurses-5.7.tar.gz from
http://mirror.aarnet.edu.au/pub/GNU/ncurses
---> Attempting to fetch ncurses-5.7.tar.gz from
http://distfiles.macports.org/ncurses
---> Attempting to fetch ncurses-5.7.tar.gz from
http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/ncurses
---> Attempting to fetch ncurses-5.7.tar.gz from
ftp://ftp.dti.ad.jp/pub/GNU/ncurses
---> Verifying checksum(s) for ncursesw
---> Extracting ncursesw
---> Configuring ncursesw
---> Building ncursesw
---> Staging ncursesw into destroot
---> Deactivating ncursesw @5.6_1
---> Computing dependencies for ncursesw
---> Installing ncursesw @5.7_0
---> Activating ncursesw @5.7_0
---> Cleaning ncursesw
---> Computing dependencies for ncurses
---> Fetching ncurses
---> Verifying checksum(s) for ncurses
---> Extracting ncurses
---> Configuring ncurses
---> Building ncurses
---> Staging ncurses into destroot
---> Deactivating ncurses @5.6_0
---> Computing dependencies for ncurses
---> Installing ncurses @5.7_0
---> Activating ncurses @5.7_0
---> Cleaning ncurses
---> Computing dependencies for gettext
---> Fetching gettext
---> Verifying checksum(s) for gettext
---> Extracting gettext
---> Applying patches to gettext
---> Configuring gettext
---> Building gettext
---> Staging gettext into destroot
---> Deactivating gettext @0.17_3
---> Computing dependencies for gettext
---> Installing gettext @0.17_4
---> Activating gettext @0.17_4
---> Cleaning gettext
---> Computing dependencies for gmp
---> Fetching gmp
---> Attempting to fetch gmp-4.3.1.tar.bz2 from
http://mirror.internode.on.net/pub/gnu/gmp
---> Attempting to fetch gmp-4.3.1.tar.bz2 from
http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/gmp
---> Attempting to fetch gmp-4.3.1.tar.bz2 from
http://mirror.aarnet.edu.au/pub/GNU/gmp
---> Attempting to fetch gmp-4.3.1.tar.bz2 from
http://distfiles.macports.org/gmp
---> Attempting to fetch gmp-4.3.1.tar.bz2 from
http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/gmp
---> Attempting to fetch gmp-4.3.1.tar.bz2 from
ftp://ftp.dti.ad.jp/pub/GNU/gmp
---> Verifying checksum(s) for gmp
---> Extracting gmp
---> Applying patches to gmp
---> Configuring gmp
---> Building gmp
---> Staging gmp into destroot
---> Deactivating gmp @4.2.2_1
---> Computing dependencies for gmp
---> Installing gmp @4.3.1_1
---> Activating gmp @4.3.1_1
---> Cleaning gmp
---> Computing dependencies for coreutils
---> Fetching coreutils
---> Attempting to fetch coreutils-7.6.tar.gz from
http://mirror.internode.on.net/pub/gnu/coreutils
---> Attempting to fetch coreutils-7.6.tar.gz from
http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/coreutils
---> Attempting to fetch coreutils-7.6.tar.gz from
http://mirror.aarnet.edu.au/pub/GNU/coreutils
---> Attempting to fetch coreutils-7.6.tar.gz from
http://distfiles.macports.org/coreutils
---> Attempting to fetch coreutils-7.6.tar.gz from
http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/coreutils
---> Attempting to fetch coreutils-7.6.tar.gz from
ftp://ftp.dti.ad.jp/pub/GNU/coreutils
---> Verifying checksum(s) for coreutils
---> Extracting coreutils
---> Configuring coreutils
---> Building coreutils
---> Staging coreutils into destroot
---> Deactivating coreutils @6.10_0+darwin_9+with_default_names
---> Computing dependencies for coreutils
---> Installing coreutils @7.6_0+with_default_names
---> Activating coreutils @7.6_0+with_default_names
---> Cleaning coreutils
---> Computing dependencies for zlib
---> Fetching zlib
---> Verifying checksum(s) for zlib
---> Extracting zlib
---> Applying patches to zlib
---> Configuring zlib
---> Building zlib
---> Staging zlib into destroot
---> Deactivating zlib @1.2.3_1
---> Computing dependencies for zlib
---> Installing zlib @1.2.3_3
---> Activating zlib @1.2.3_3
---> Cleaning zlib
---> Computing dependencies for freetype
---> Fetching freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://internode.dl.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://optusnet.dl.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://transact.dl.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://internap.dl.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://distfiles.macports.org/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://easynews.dl.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://voxel.dl.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from http://superb-
west.dl.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://downloads.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from http://superb-
east.dl.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://download.savannah.gnu.org/releases/freetype/
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://kent.dl.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://heanet.dl.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://arn.se.distfiles.macports.org/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://mesh.dl.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://surfnet.dl.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://switch.dl.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://garr.dl.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://dfn.dl.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://nchc.dl.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://ufpr.dl.sourceforge.net/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://svn.macports.org/repository/macports/distfiles/freetype
---> Attempting to fetch freetype-2.3.9.tar.bz2 from
http://svn.macports.org/repository/macports/distfiles/general/
Error: Target org.macports.fetch returned: fetch failed
Error: Unable to upgrade port: 1
}}}
Everything seemed to be going OK until it gets to freetype. [[BR]]
Because I was doing this behind a proxy/firewall I thought it just timed
out, but when I tried again at a non-firewalled / no proxy internet
connection I get[[BR]]
{{{
sudo port -R upgrade installed
---> Computing dependencies for freetype
---> Configuring freetype
Error: Target org.macports.configure returned: configure failure: shell
command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_freetype/work/freetype-2.3.9"
&& ./configure --prefix=/opt/local " returned error 2
Command output: dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
Referenced from: /opt/local/bin/rm
Reason: Incompatible library version: rm requires version 8.0.0 or
later, but libiconv.2.dylib provides version 7.0.0
./configure: line 16: 15214 Trace/BPT trap rm -f config.mk
builds/unix/unix-def.mk builds/unix/unix-cc.mk
./configure: line 40: 15219 Trace/BPT trap expr a : '\(a\)' >
/dev/null 2>&1
FreeType build system -- automatic system detection
The following settings are used:
platform unix
compiler /usr/bin/gcc-4.0
configuration directory ./builds/unix
configuration rules ./builds/unix/unix.mk
If this does not correspond to your system or settings please remove the
file
`config.mk' from this directory then read the INSTALL file for help.
Otherwise, simply type `make' again to build the library,
or `make refdoc' to build the API reference (the latter needs python).
dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
Referenced from: /opt/local/bin/cp
Reason: Incompatible library version: cp requires version 8.0.0 or
later, but libiconv.2.dylib provides version 7.0.0
make: *** [std_setup] Trace/BPT trap
Error: Unable to upgrade port: 1
}}}
[[BR]]
I can't fix it, I've done[[BR]]
{{{
locate libiconf.2.dylib
}}}
[[BR]]
and ran an otool -L on every occurrence of libiconf.2.dylb and they all
say[[BR]]
{{{
compatibility version 7.0.0, current version 7.0.0
}}}
[[BR]]
Where can I get the compatibility version 8.0.0 one from?
This has affected more than just my Macports install, I can also no longer
use other programs which are not Macports related [[BR]]
so this is huge problem for me. Now every time I launch a terminal or re-
source my ~/.profile I am faced with
{{{
running .profile ...
dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
Referenced from: /opt/local/bin/tr
Reason: Incompatible library version: tr requires version 8.0.0 or
later, but libiconv.2.dylib provides version 7.0.0
WARNING: KARMA_VERSION environment variable could not be computed.
dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
Referenced from: /opt/local/bin/uname
Reason: Incompatible library version: uname requires version 8.0.0 or
later, but libiconv.2.dylib provides version 7.0.0
### Unknown host architecture -- no Miriad executables.
dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
Referenced from: /opt/local/bin/dircolors
Reason: Incompatible library version: dircolors requires version 8.0.0
or later, but libiconv.2.dylib provides version 7.0.0
dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
Referenced from: /opt/local/bin/uname
Reason: Incompatible library version: uname requires version 8.0.0 or
later, but libiconv.2.dylib provides version 7.0.0
dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
Referenced from: /opt/local/bin/uname
Reason: Incompatible library version: uname requires version 8.0.0 or
later, but libiconv.2.dylib provides version 7.0.0
}}}
Please help!
--
Ticket URL: <http://trac.macports.org/ticket/22493>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list