Skip to content

Instantly share code, notes, and snippets.

@zachleat
Last active February 17, 2020 05:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zachleat/96516e8a3bbff53355ba65f0b7732aed to your computer and use it in GitHub Desktop.
Save zachleat/96516e8a3bbff53355ba65f0b7732aed to your computer and use it in GitHub Desktop.
Installing phantomjs 2.5.0 Beta
# First download phantomjs-2.5.0-beta-macos.zip from https://bitbucket.org/ariya/phantomjs/downloads
# I put mine into ~/Code/phantomjs-2.5.0-beta-macos
~/Code/phantomjs-2.5.0-beta-macos/bin ᐅ ./phantomjs
dyld: Library not loaded: /usr/local/opt/webp/lib/libwebp.6.dylib
Referenced from: /Users/zachleat/Code/phantomjs-2.5.0-beta-macos/bin/./phantomjs
Reason: image not found
[1] 33803 abort ./phantomjs
~/Code/phantomjs-2.5.0-beta-macos/bin ᐅ brew install webp
==> Installing dependencies for webp: jpeg
==> Installing webp dependency: jpeg
==> Downloading https://homebrew.bintray.com/bottles/jpeg-8d.sierra.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring jpeg-8d.sierra.bottle.2.tar.gz
🍺 /usr/local/Cellar/jpeg/8d: 19 files, 708.2K
==> Installing webp
==> Downloading https://homebrew.bintray.com/bottles/webp-0.5.2.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring webp-0.5.2.sierra.bottle.tar.gz
🍺 /usr/local/Cellar/webp/0.5.2: 35 files, 1.8M
~/Code/phantomjs-2.5.0-beta-macos/bin ᐅ ./phantomjs
phantomjs>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment