Bug 5894 - Incompatible library version
Summary: Incompatible library version
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.0.4
Hardware: x86 Mac OS X
: P3 major (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Depends on:
Reported: 2008-11-13 21:17 UTC by David Allie
Modified: 2008-11-14 13:20 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description David Allie 2008-11-13 21:17:19 UTC
I compiled 3.0.4 in OS X on an Intel machine. The resulting binary works on many other Intel Macs, but I've come across some 1.83GHz Core 2 Duo iMacs that won't run rsync.  Here is the Terminal dump when simply trying to confirm rsync version.

[ ~/.bin ]$ /Users/admin/.bin/rsync-304 --version
dyld: Library not loaded: /usr/lib/libiconv.2.dylib
  Referenced from: /Users/admin/.bin/rsync-304
  Reason: Incompatible library version: rsync-304 requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0
Trace/BPT trap
Comment 1 Matt McCutchen 2008-11-14 09:53:43 UTC
You need to recompile rsync on one of the machines with the older libiconv.  It's typical that a program compiled against one version of a shared library won't run with older versions of the library.
Comment 2 David Allie 2008-11-14 12:55:03 UTC
OK, this can be marked FIXED. I downloaded xCode on that iMac, recompiled rsync, and it works fine now!
Comment 3 Matt McCutchen 2008-11-14 13:19:36 UTC
Reopen to change resolution.
Comment 4 Matt McCutchen 2008-11-14 13:20:02 UTC
This was not a bug in rsync.