Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#23441 closed defect (invalid)

Incompatible library version: rsync requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0

Reported by: 2ge@… Owned by: simon@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: rsync

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

Fresh install on Snow Leopard, MacPorts 1.8.2, I installed rsync and it was working, but after I installed some other port and now php, and rsync giving me this output:

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

> 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/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.0)

> lipo -info /opt/local/lib/libiconv.2.dylib
Non-fat file: /opt/local/lib/libiconv.2.dylib is architecture: x86_64

I found another ticket but user reinstalls eveyrthing, I want solve this issue somehow without fresh reinstall (I just installed it...)

How I found out architecture of /opt/local/bin/rsync?

Change History (6)

comment:1 Changed 14 years ago by 2ge@…

Cc: 2ge@… added

Cc Me!

comment:2 Changed 14 years ago by 2ge@…

update: when I run rsync from bash, it is working, my default interpreter is tcsh and there I get that error. What it means ?

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Cc: 2ge@… removed
Keywords: rsync snowleopard removed
Owner: changed from macports-tickets@… to simon@…

Please remember to cc the maintainer.

You can run lipo -info on binaries too. Do you have DYLD_LIBRARY_PATH or similar set in your environment?

comment:4 Changed 14 years ago by 2ge@…

ok, DYLD_LIBRARY_PATH was set, I removed it and now works everything under tcsh too. Thanks for super-help :)

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: invalid
Status: newclosed

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.