Can't install imagemagick with brew on Mac OS X mavericks

后端 未结 7 2091
星月不相逢
星月不相逢 2021-02-02 07:54

I am using Homebrew v0.9.5 on my Mac OS X version 10.9.4

When I run the command: `brew install imagemagick, this error occurred.

$ brew install imagemagi         


        
7条回答
  •  -上瘾入骨i
    2021-02-02 08:45

    Follow this:

    brew install imagemagick@6
    

    Add below lines in to ~/.bash_profile file

    export LDFLAGS="-L/usr/local/opt/imagemagick@6/lib" export
    CPPFLAGS="-I/usr/local/opt/imagemagick@6/include" export
    PKG_CONFIG_PATH="/usr/local/opt/imagemagick@6/lib/pkgconfig"
    

    Install Rmagick

    source ~/.bash_profile
    gem install rmagick
    

提交回复
热议问题