Sharp: Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.8.dylib

Created on 18 Dec 2015  Â·  6Comments  Â·  Source: lovell/sharp

Hello,

 ...Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.8.dylib
  Referenced from: /usr/local/opt/vips/lib/libvips.42.dylib
  Reason: Incompatible library version: libvips.42.dylib requires version 13.0.0 or later, but libjpeg.8.dylib provides version 9.0.0

question

Most helpful comment

IIRC running brew unlink jpeg && brew link jpeg might also produce a similar effect to that described by @tomjoro.

All 6 comments

Hello. Does running brew update && brew upgrade help? What command was run to install vips?

@wenshan Have you been able to make any progress?

try symlinking it from $ sudo ln -s /usr/local/Cellar/jpeg/8d/lib/libjpeg.8.dylib /usr/local/opt/jpeg/lib/libjpeg.8.dylib

IIRC running brew unlink jpeg && brew link jpeg might also produce a similar effect to that described by @tomjoro.

thanks. That worked for me too and is a better solution than manual symlink.

Closing this as it looks like the solution is working for people. Feel free to re-open if not.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Andresmag picture Andresmag  Â·  3Comments

natural-law picture natural-law  Â·  3Comments

henbenla picture henbenla  Â·  3Comments

paulieo10 picture paulieo10  Â·  3Comments

genifycom picture genifycom  Â·  3Comments