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_
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