thanks a lot Brandon, it solved the problem but should I make aliases for every Mac Ports software in order to NOT use the system /usr/lib libs ? such as echo DYLD_LIBRARY_PATH && xemacs ? is there a better way for that ?
On Dec 12, 2011, at 9:40 AM, Brandon Allbery wrote: > 2011/12/12 Benoît Revenu <[email protected]> > dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib > Referenced from: /opt/local/lib/libXpm.4.dylib > Reason: Incompatible library version: libXpm.4.dylib requires version 8.0.0 > or later, but libiconv.2.dylib provides version 7.0.0 > Trace/BPT trap: 5 > > Do you have $DYLD_LIBRARY_PATH defined, by any chance? Or have you possibly > tried to replace the MacPorts libiconv with the incompatible system-privided > one? > > haral:70286 Z$ otool -DL /usr/lib/libiconv.2.dylib > /usr/lib/libiconv.2.dylib: > /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version > 7.0.0) > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current > version 159.0.0) > haral:70287 Z$ otool -DL /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.1.0) > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current > version 159.1.0) > > In short, sounds like it's looking for the MacPorts libiconv, but finding the > system one. > > -- > brandon s allbery [email protected] > wandering unix systems administrator (available) (412) 475-9364 vm/sms > _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
