I am tying to install image magic library on mac os x (10.6 version) to use for image analysis.
So, I downloaded macports and imageMagicks by using macports.
Then, I modified .bash_profile to set up 'export libraries' for image magic as follows.
I tried this based on below description.
http://www.imagemagick.org/script/binar ... php#macosx
Code: Select all
export MAGICK_HOME="/opt/local"
export PATH="$MAGICK_HOME/bin:/opt/subversion/bin:$PATH"
export DYLD_LIBRARY_PATH="/usr/lib"
source /Users/taewooko/sqllib/db2profile
##
# Your previous /Users/taewooko/.bash_profile file was backed up as /Users/taewooko/.bash_profile.macports-saved_2011-06-13_at_17:21:05
##
# MacPorts Installer addition on 2011-06-13_at_17:21:05: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
export DISPLAY=:0
Code: Select all
itd240:~ taewooko$ convert
dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
Referenced from: /opt/local/bin/convert
Reason: Incompatible library version: convert requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0
Trace/BPT trap
For instance, libiconv.2.dylib file exists both '/usr/lib' and '/opt/local/lib/' .
Could you help me out to fix this problem ?
It would be great help if you give me any advices.
Thanks,
Steve Oh