Last active
August 23, 2017 08:08
-
-
Save darul75/9125097 to your computer and use it in GitHub Desktop.
Max OS fatal error: 'jpeglib.h' file not found
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use Brew | |
> brew install libjpeg | |
find /usr | grep "libjpeg" | |
find /opt | grep "libjpeg" | |
Here what I have done | |
cd /usr/local/include | |
sudo rm jpeglib.h | |
cd /usr/local/lib | |
sudo rm libjpeg*.* | |
http://brantsteen.com/blog/python-27-libjpeg-pil-on-osx/ | |
Additionally you can use brew switch if you're using brew on OS X to downgrade versions (and brew versions v8 to see what versions are available) | |
http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=24943 | |
http://www.yireo.com/blog/1559-jpegoptim-wrong-jpeg-library-version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment