I am trying to work with Mac OS X Lion (Xcode 4.3 + OSX GCC Installer + Homebrew)
Error message:
Library not loaded: /opt/local/lib/libffi.5.dylib
I do not have a directory /opt/localsince I do not use MacPorts, but Homebrew
I tried brew install libffi, which was successful, but the stone still does not work.
I also tried uninstalling and reinstalling gem without success.
The problem also occurs on OSX 10.9 (Mavericks) with it installed apple-gcc42.
I also tried to talk gemabout the presence of libffi as follows:
gem install ffi:1.0.7 -- --with-ldflags='-L/usr/local/opt/libffi/lib'
source
share