Sharp: Library not loaded: /usr/local/opt/orc/lib/liborc-0.4.0.dylib

Created on 5 Jun 2016  路  3Comments  路  Source: lovell/sharp

Unable to run the module due to an error of Library not loaded: /usr/local/opt/orc/lib/liborc-0.4.0.dylib.

I used brew install homebrew/science/vips to install all dependancies. Everything was installed correctly (after around 10 minutes), yet the module still fails to run.

Any idea on how to fix this?

question

Most helpful comment

Hello, this looks like #323. Please can you try:

brew update && brew upgrade
brew unlink orc && brew link orc

All 3 comments

Hello, this looks like #323. Please can you try:

brew update && brew upgrade
brew unlink orc && brew link orc

That did the trick! Thanks @lovell

@lovell I got the same error yesterday on my OSX and your trick worked, thanks :)

Error ==========================

1): Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib
Referenced from: /usr/local/opt/vips/lib/libvips-cpp.42.dylib
Reason: Incompatible library version: libvips-cpp.42.dylib requires version 40.0.0 or later, but libpng16.16.dylib provides version 38.0.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zhump picture zhump  路  3Comments

tomercagan picture tomercagan  路  3Comments

terbooter picture terbooter  路  3Comments

jaekunchoi picture jaekunchoi  路  3Comments

natural-law picture natural-law  路  3Comments