Page 1 of 1

Installation Issues (Mac OS X - 10.6) ImageMagick

Posted: 2011-06-14T14:50:48-07:00
by toh2
Hi all,

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
the problem is that it generated below error messages when I try to execute a command.

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
It seems like the profile file do not specify correct path.
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