Imagemagick jpeg decode delegate missing with OS X Homebrew install

后端 未结 5 1658
抹茶落季
抹茶落季 2021-02-05 14:08

I recently converted from macports to homebrew and my previous macports Imagemagick install was working fine. I followed the homebrew instructions to chown /usr/local (somewhat

5条回答
  •  不知归路
    2021-02-05 14:48

    I just ran into this issue myself. While investigating I noticed symlinks to the jpeg jib were missing from /usr/local/lib. Can take of this with the following; just be sure to refer to the jpeg lib version in use, at the time of this post I am using 8c:

     ln -s /usr/local/Cellar/jpeg/8c/lib/libjpeg.8.dylib /usr/local/lib/libjpeg.8.dylib
    
     ln -s /usr/local/Cellar/jpeg/8c/lib/libjpeg.a /usr/local/lib/libjpeg.a
    

    Then force homebrew to reinstall imagemagick:

     brew install --force imagemagick
    

    Viola! Imagemagick will now show that a jpeg delegate is present.

提交回复
热议问题