Opened 15 years ago
Closed 15 years ago
#20959 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: | ash@… | Owned by: | simon@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | libiconv.2.dylib snowleopard | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | rsync |
Description (last modified by mf2k (Frank Schima))
A fresh install of Macports v1.8.0 on Snow Leopard with version @3.0.6 yields the following error when utilising the ssh remote option: -
$ rsync -vax -e ssh user@remote.host:/path/ /local/path/ 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 rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync error: unexplained error (code 255) at io.c(600) [receiver=3.0.6]
Change History (7)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | snowleopard added; rsync snow-leopard removed |
Milestone: | MacPorts 1.8.1 |
Owner: | changed from macports-tickets@… to simon@… |
Port: | rsync added; net/rsync @3.0.6 removed |
comment:2 follow-up: 3 Changed 15 years ago by jmroot (Joshua Root)
comment:3 Changed 15 years ago by ash@…
Replying to jmr@…:
What is the output from these commands?
otool -L /opt/local/lib/libiconv.2.dylib
lipo -info /opt/local/lib/libiconv.2.dylib
$ 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 123.0.0) $ lipo -info /opt/local/lib/libiconv.2.dylib Non-fat file: /opt/local/lib/libiconv.2.dylib is architecture: x86_64
comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
This error usually occurs when a program was built to use the MacPorts libiconv, but the MacPorts libiconv is in some way unsuitable (for example, wrong architecture), so the library of the same name provided by Apple in /usr/lib is used instead, but that library has compatibility version 7.0.0 whereas the MacPorts one has compatibility version 8.0.0 so things fail.
What is the architecture of /opt/local/bin/rsync?
comment:6 Changed 15 years ago by ash@…
hi, sorry for the delay.. i haven't had access to the machine in question, i will in the next day so i'll update then.. sorry!
comment:7 Changed 15 years ago by ash@…
i completely removed /opt and ensured my environment was clean and re-installed macports fresh after a reboot and have not experienced the problem again. thanks for the time spent on this one, apologies.
comment:8 Changed 15 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
What is the output from these commands?