Skip to content

Instantly share code, notes, and snippets.

@darul75 darul75/helper_jpeglib.txt
Last active Aug 23, 2017

Embed
What would you like to do?
Max OS fatal error: 'jpeglib.h' file not found
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
You can’t perform that action at this time.