postgrest mac osx dyld: Library not loaded: /usr/local/lib/libgmp.10.dylib

http://stackoverflow.com/questions/26555902/ruby-v-dyld-library-not-loaded-usr-local-lib-libgmp-10-dylib

$ brew update && brew install gmp

Error: The `brew link` step did not complete successfully

The formula built, but is not symlinked into /usr/local

Could not symlink share/info/gmp.info

/usr/local/share/info is not writable.

You can try again using:

brew link gmp

$ brew link gmp

Linking /usr/local/Cellar/gmp/6.1.0...

Error: Could not symlink share/info/gmp.info

/usr/local/share/info is not writable.

http://developpeers.com/blogs/fix-for-homebrew-permission-denied-issues

$ sudo chown -R `whoami` /usr/local

Password:

$ brew link gmp

Linking /usr/local/Cellar/gmp/6.1.0... 11 symlinks created

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s