dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
Referenced from: /opt/local/lib/libxml2.2.dylib
Reason: Incompatible library version: libxml2.2.dylib requires version 9.0.0 or later, but libiconv.2.dylib provides version 8.0.0
How do you have such an old libiconv? It's compatibility version 9.0.0 for me:
% otool -L /opt/local/lib/libiconv.2.dylib
/opt/local/lib/libiconv.2.dylib:
/opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0, current version 9.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)