Replying to okhalid.cern@…:
Now I have tried this in my ~/.profile and ~/.basrc :
export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib:$DYLD_FALLBACK_LIBRARY_PATH
It does not work :-(
You should not set DYLD_FALLBACK_LIBRARY_PATH. It is not necessary and can cause problems.
I have renamed the libJPEG.dylib to libJPEG.dylib under:
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources
And then created a symbolic link in there to /opt/local/lib/libjpeg.62.dylib
You should not change anything in /System. This will likely cause problems for your operating system. You should change it back to the way it was.