-
Notifications
You must be signed in to change notification settings - Fork 0
Cannot find libwebp.6.dylib
Darren Mackintosh edited this page Apr 3, 2017
·
2 revisions
Some users may come across an error where PhantomJS 2.5 can't find libwebp.6.dylib on OSx (not sure if it affects Linux); Library not loaded: /usr/local/opt/webp/lib/libwebp.6.dylib
There are three different ways to solve this;
-
brew install webpIf you're lucky this will fix the problem .....or..... - Visit https://developers.google.com/speed/webp/download Go to the downloads repository Download the libwebp-0.5.2 releavant to your build. You are downloading 0.5.2 because, ironically, this archive contains the libwebp.6.dylib you need to make Phantom work Follow the instructions to build, compile and install libwebp.6.dylib .....or.....
- Add a symlink for libwebp.6.dylib to reference libwebp.7.dylib
Close and re-open, or open another terminal window
Browse to your webp lib directory
cd /usr/local/opt/webp/libLook at the directory for the library file ls If you seelibwebp.7.dylib, add thesymlink ln -s libwebp.7.dylib libwebp.6.dylib