{"revision": {"id": "f34591b6-2f95-11f1-a773-e86a64d24d78", "node_id": "f344bef2-2f95-11f1-a141-e86a64d24d78", "user_id": "edc3f576-2f95-11f1-900f-e86a64d24d78", "author": "foxhop", "data": "ubuntu python easy_install pil does not install zlib support\r\n==================================================================\r\n\r\nThis happened to me even though the zlib dev libraries were installed.. apparently PIL setup.py doesn't know how to find libz.so.\r\n\r\nPIL expects libz.so to be located in /usr/lib not /usr/lib/i386-linux-gnu/libz.so\r\n\r\nTo fix this create a link!\r\n\r\nSteps\r\n-----------\r\n\r\n1. find the location of your systems libz.so\r\n\r\n  .. code-block:: bash   \r\n\r\n    find . -name libz.so\r\n\r\n2. create a soft link from /usr/lib to the location of libz.so\r\n\r\n  .. code-block:: bash\r\n\r\n    sudo ln -s /usr/lib/i386-linux-gnu/libz.so /usr/lib\r\n\r\n", "source_format": "rst", "revision_number": 4, "created": 1317331458000}}