Replying to stephane.jacobs@…:
I'm trying to run an open source software
Which software? Another port installed with MacPorts? or something you've built by hand?
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
The usual cause of this error that the iconv library built by MacPorts (library version 8) is built for the wrong architecture, thus it tries to fall back to the iconv library provided by Mac OS X (library version 7). The usual reason for this architecture mismatch is upgrading to Snow Leopard without following Migration instructions. But you're on Leopard, and you've demonstrated that the libraries are built for the right architecture -- at least, the libraries installed by MacPorts. Is it possible there is another iconv library that's built for the wrong architecture, perhaps in /usr/local/lib, /usr/lib or /sw/lib?