Skip to content

Instantly share code, notes, and snippets.

@jjcodes78
Last active February 27, 2018 20:15
Show Gist options
  • Save jjcodes78/a7f5dbd59b3bc4650c92d250a34c2d00 to your computer and use it in GitHub Desktop.
Save jjcodes78/a7f5dbd59b3bc4650c92d250a34c2d00 to your computer and use it in GitHub Desktop.
dyld JPEG Library fix on OSX

Recompile formula from source

brew reinstall php71 --build-from-source

Downgrade jpeg formula

brew switch jpeg 8d

In case of error: jpeg does not have a version "8d" in the Cellar, just try

cd $(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-core
git checkout b231469
HOMEBREW_NO_AUTO_UPDATE=1 brew install jpeg
git checkout master

brew switch jpeg 8d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment