Opened 12 years ago

Last modified 12 years ago

#34309 closed defect

incompatible libintl and libiconv versions — at Version 1

Reported by: sima.chalavi@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: ryandesign@…
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello,

I am running a data analysis software with Mac OS X (10.5.8) and recently running the previously running commands give me this error:

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
/usr/local/fsl/bin/fsl_sub: line 243: [: !=: unary operator expected
usage: basename string [suffix]
       basename [-a] [-s suffix] string [...]
44693

I read the Ticket #29142 which is using the same software as me however there are some differences between his/her settings than mine.

I also tried otool and lipo:

otool -L /opt/local/lib/libiconv.2.dylib

/opt/local/lib/libiconv.2.dylib:
        /usr/people/cowboy/var/jalapeno4_apple-darwin8-gcc4.0/sandboxes/fsl/extras/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.3)


lipo -info /opt/local/lib/libiconv.2.dylib
Architectures in the fat file: /opt/local/lib/libiconv.2.dylib are: ppc ppc64 i386 x86_64 

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

and it seems that it is correct that the version of libiconv is 7 and not 8, I tried to update my system however selfupdate also failed:

 sudo port selfupdate
Password:
Warning: port definitions are more than two weeks old, consider using selfupdate
--->  Updating the ports tree
Error: Synchronization of the local ports tree failed doing rsync
Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of 1 source(s) failed

Now I am really stuck and would appreciate any help.

Thanks, Sima.

Change History (1)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Note: See TracTickets for help on using tickets.