Opened 13 years ago

Last modified 13 years ago

#29142 closed defect

libintl and libiconv versions not compatible — at Initial Version

Reported by: stephane.jacobs@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: gettext libiconv

Description

Hello,

I'm trying to run an open source software and ran into a bug I can't seem to find a solution to. Sorry if this is is a trivial problem, I am far from an expert, but could not find solutions in all the threads I've read so far.

I am on Mac OS 10.5.8, using Xcode 3.1.4.

Here is the error message I get:

dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
  Referenced from: /opt/local/lib/libintl.8.dylib
  Reason: Incompatible library version: libintl.8.dylib requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0

After havind read other threads, I have already done the following:

sudo port selfupdate
sudo port upgrade outdated

libiconv exists and seems to be the right version:

otool -L /opt/local/lib/libiconv.2.dylib
/opt/local/lib/libiconv.2.dylib:
	/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.0.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4)

Both libiconv and libintl are for the right architecture:

lipo -info /opt/local/lib/libintl.8.dylib 
Non-fat file: /opt/local/lib/libintl.8.dylib is architecture: i386
lipo -info /opt/local/lib/libiconv.2.dylib 
Non-fat file: /opt/local/lib/libiconv.2.dylib is architecture: i386

It does not seem to be a problem with DYLD environment variables, as running "env |grep -i dyld" does not return anything...

I'm stuck here, any help would really be greatly appreciated.

Best,

Stephane


    

Change History (0)

Note: See TracTickets for help on using tickets.