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

前端 未结 4 1472
滥情空心
滥情空心 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:38

    Your compiler is trying to link to an lib at a location that doesn't have the lib, however it seems that you have installed it with homebrew. Try running ln -s /usr/local/Cellar/freetype/2.4.10/lib/libfreetype.6.dylib /usr/local/lib/libfreetype.6.dylib to create one, or you can just use the without-freetype flag to skip it.

提交回复
热议问题