Lion OSX: How to install libfreetype.6.dylib?

前端 未结 4 1489
滥情空心
滥情空心 2021-02-19 03:47

I am trying to install a ruby gem, but the installation process is stopped, because:

ld: file not found: /usr/local/lib/libfreetype.6.dylib for architecture x86_         


        
4条回答
  •  清酒与你
    2021-02-19 04:37

    What library are you trying to install? Could it by chance be ImageMagick? Also, if it's a RubyGem, why is the post tagged with homebrew?

    Anyways, I got this error when installing ImageMagick, you need to symlink /opt/X11/lib/libfreetype.6.dylib to /usr/local/lib.

    do this:

    ln -s /opt/X11/lib/libfreetype.6.dylib /usr/local/lib/libfreetype.6.dylib

提交回复
热议问题