ImageMagick and OS X Lion trouble

前端 未结 13 1109
时光取名叫无心
时光取名叫无心 2020-12-04 06:55

[edit] I was troubleshooting problems with my development environment when I noticed one of my problems was the dependency on ImageMagick, since it\'s a vit

相关标签:
13条回答
  • 2020-12-04 07:32
    brew uninstall imagemagick
    brew install imagemagick --build-from-source
    

    worked for me

    0 讨论(0)
  • 2020-12-04 07:33

    For others looking and still having trouble, I used this:

    https://github.com/maddox/magick-installer

    0 讨论(0)
  • 2020-12-04 07:34

    On Mountain Lion OSX,

    Even with the updated brew for imagemagick(which includes libtool), this error seemed to happen to me.

    so i fixed it using the following commands

    brew uninstall libtool
    brew install libtool --universal
    brew link libtool --force
    
    0 讨论(0)
  • 2020-12-04 07:34

    This helped me after restoring OS X 10.9.3 from time machine.

    brew uninstall imagemagick
    brew uninstall libtool
    brew install libtool --universal
    brew unlink libtool && brew link libtool
    brew install imagemagick
    brew install Homebrew/python/pillow
    brew link --overwrite pillow
    
    0 讨论(0)
  • 2020-12-04 07:36

    I too use homebrew for installing packages but imagemagick stopped working after upgrading OSX 10.8 to 10.9 (Mavericks). I had to do the following steps:

    brew uninstall imagemagick
    brew uninstall libtool
    brew install libtool --universal
    brew install imagemagick --build-from-source
    

    Why the --build-from-source? Well for me running brew install imagemagick on its own to install the pre-built binary wasn't sufficient; it fixed the original 'dyln' error but was replaced with:

    unable to load module `/usr/local/Cellar/imagemagick/6.8.7-7/lib/ImageMagick//modules-Q16/coders/png.la': file not found @ error/module.c/OpenModule/1277
    
    0 讨论(0)
  • 2020-12-04 07:36

    I tried most of the solutions above and they didn't work. Here's how I fixed my problem:

    brew install imagemagick;
    brew install freetype;
    cd /usr/X11/lib/;    
    sudo mv libfreetype.6.dylib libfreetype.6.dylib.orig;
    sudo ln -s /usr/local/opt/freetype/lib/libfreetype.6.dylib libfreetype.6.dylib
    

    Tested on OS X 10.7.2

    0 讨论(0)
提交回复
热议问题