{"node_id": "f344bef2-2f95-11f1-a141-e86a64d24d78", "revisions": [{"id": "f345c060-2f95-11f1-9174-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 or png support\r\n========================================================================\r\n\r\nI was getting the following error even though the zlib dev libraries were already installed correctly. \r\n\r\n.. code-block:: python\r\n\r\n --------------------------------------------------------------------\r\n PIL 1.1.7 SETUP SUMMARY\r\n --------------------------------------------------------------------\r\n version       1.1.7\r\n platform      linux2 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)\r\n               [GCC 4.5.2]\r\n --------------------------------------------------------------------\r\n *** TKINTER support not available\r\n *** JPEG support not available\r\n *** ZLIB (PNG/ZIP) support not available\r\n *** FREETYPE2 support not available\r\n *** LITTLECMS support not available\r\n --------------------------------------------------------------------\r\n To add a missing option, make sure you have the required\r\n library, and set the corresponding ROOT variable in the\r\n setup.py script.\r\n\r\nApparently 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\nI fixed this issue by building a link to were PIL setup.py looks and where the library really exists!\r\n\r\n\r\n\r\nHow to fix\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 libz.so to /usr/lib**\r\n  \r\n   Ubuntu 32bit:\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   Ubuntu 64bit:\r\n\r\n    .. code-block:: bash\r\n\r\n      sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib\r\n\r\n\r\n\r\nNotes\r\n----------------\r\n\r\nYou might need to delete the PIL egg from your pythons site-packages directory and attempt to re-install the package\r\n\r\n\r\nubuntu\r\n------------\r\n\r\n.. code-block:: bash\r\n\r\n apt-get install zlib1g-dev\r\n\r\n\r\n", "source_format": "rst", "revision_number": 12, "created": 1355525323000}, {"id": "f345bc4b-2f95-11f1-9427-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 or png support\r\n========================================================================\r\n\r\nI was getting the following error even though the zlib dev libraries were already installed correctly. \r\n\r\n.. code-block:: python\r\n\r\n --------------------------------------------------------------------\r\n PIL 1.1.7 SETUP SUMMARY\r\n --------------------------------------------------------------------\r\n version       1.1.7\r\n platform      linux2 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)\r\n               [GCC 4.5.2]\r\n --------------------------------------------------------------------\r\n *** TKINTER support not available\r\n *** JPEG support not available\r\n *** ZLIB (PNG/ZIP) support not available\r\n *** FREETYPE2 support not available\r\n *** LITTLECMS support not available\r\n --------------------------------------------------------------------\r\n To add a missing option, make sure you have the required\r\n library, and set the corresponding ROOT variable in the\r\n setup.py script.\r\n\r\nApparently 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\nI fixed this issue by building a link to were PIL setup.py looks and where the library really exists!\r\n\r\n\r\n\r\nHow to fix\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 libz.so to /usr/lib**\r\n  \r\n   Ubuntu 32bit:\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   Ubuntu 64bit:\r\n\r\n    .. code-block:: bash\r\n\r\n      sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib\r\n\r\n\r\n\r\nNotes\r\n----------------\r\n\r\nYou might need to delete the PIL egg from your pythons site-packages directory and attempt to re-install the package\r\n\r\n\r\nubuntu\r\n------------\r\n\r\n.. code-block: bash\r\n\r\n apt-get install zlib1g-dev\r\n\r\n\r\n", "source_format": "rst", "revision_number": 11, "created": 1355525301000}, {"id": "f345b838-2f95-11f1-bda3-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 or png support\r\n========================================================================\r\n\r\nI was getting the following error even though the zlib dev libraries were already installed correctly. \r\n\r\n.. code-block:: python\r\n\r\n --------------------------------------------------------------------\r\n PIL 1.1.7 SETUP SUMMARY\r\n --------------------------------------------------------------------\r\n version       1.1.7\r\n platform      linux2 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)\r\n               [GCC 4.5.2]\r\n --------------------------------------------------------------------\r\n *** TKINTER support not available\r\n *** JPEG support not available\r\n *** ZLIB (PNG/ZIP) support not available\r\n *** FREETYPE2 support not available\r\n *** LITTLECMS support not available\r\n --------------------------------------------------------------------\r\n To add a missing option, make sure you have the required\r\n library, and set the corresponding ROOT variable in the\r\n setup.py script.\r\n\r\nApparently 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\nI fixed this issue by building a link to were PIL setup.py looks and where the library really exists!\r\n\r\n\r\n\r\nHow to fix\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 libz.so to /usr/lib**\r\n  \r\n   Ubuntu 32bit:\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   Ubuntu 64bit:\r\n\r\n    .. code-block:: bash\r\n\r\n      sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib\r\n\r\n\r\n\r\nNotes\r\n----------------\r\n\r\nYou might need to delete the PIL egg from your pythons site-packages directory and attempt to re-install the package", "source_format": "rst", "revision_number": 10, "created": 1317336278000}, {"id": "f345b3e3-2f95-11f1-ada6-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 or png support\r\n========================================================================\r\n\r\nI was getting the following error even though the zlib dev libraries were already installed correctly. \r\n\r\n.. code-block:: python\r\n\r\n --------------------------------------------------------------------\r\n PIL 1.1.7 SETUP SUMMARY\r\n --------------------------------------------------------------------\r\n version       1.1.7\r\n platform      linux2 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)\r\n               [GCC 4.5.2]\r\n --------------------------------------------------------------------\r\n *** TKINTER support not available\r\n *** JPEG support not available\r\n *** ZLIB (PNG/ZIP) support not available\r\n *** FREETYPE2 support not available\r\n *** LITTLECMS support not available\r\n --------------------------------------------------------------------\r\n To add a missing option, make sure you have the required\r\n library, and set the corresponding ROOT variable in the\r\n setup.py script.\r\n\r\nApparently 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\nI fixed this issue by building a link to were PIL setup.py looks and where the library really exists!\r\n\r\n\r\n\r\nHow to fix\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 libz.so to /usr/lib**\r\n  \r\n   Ubuntu 32bit:\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   Ubuntu 64bit:\r\n\r\n    .. code-block:: bash\r\n\r\n      sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib\r\n\r\n\r\n\r\nNotes\r\n----------------\r\n\r\nYou might need to delete the PIL egg from your pythons site-packages directory and attempt to re-install the package", "source_format": "rst", "revision_number": 9, "created": 1317332160000}, {"id": "f345ad40-2f95-11f1-bdf3-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\nI was getting the following error even though the zlib dev libraries were already installed correctly. \r\n\r\n.. code-block:: python\r\n\r\n --------------------------------------------------------------------\r\n PIL 1.1.7 SETUP SUMMARY\r\n --------------------------------------------------------------------\r\n version       1.1.7\r\n platform      linux2 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)\r\n               [GCC 4.5.2]\r\n --------------------------------------------------------------------\r\n *** TKINTER support not available\r\n *** JPEG support not available\r\n *** ZLIB (PNG/ZIP) support not available\r\n *** FREETYPE2 support not available\r\n *** LITTLECMS support not available\r\n --------------------------------------------------------------------\r\n To add a missing option, make sure you have the required\r\n library, and set the corresponding ROOT variable in the\r\n setup.py script.\r\n\r\nApparently 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\nI fixed this issue by building a link to were PIL setup.py looks and where the library really exists!\r\n\r\n\r\n\r\nHow to fix\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 libz.so to /usr/lib**\r\n  \r\n   Ubuntu 32bit:\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   Ubuntu 64bit:\r\n\r\n    .. code-block:: bash\r\n\r\n      sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib\r\n\r\n\r\n\r\nNotes\r\n----------------\r\n\r\nYou might need to delete the PIL egg from your pythons site-packages directory and attempt to re-install the package", "source_format": "rst", "revision_number": 8, "created": 1317332058000}, {"id": "f345a69a-2f95-11f1-988a-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\nI was getting the following error even though the zlib dev libraries were already installed correctly. \r\n\r\n.. code-block:: python\r\n\r\n --------------------------------------------------------------------\r\n PIL 1.1.7 SETUP SUMMARY\r\n --------------------------------------------------------------------\r\n version       1.1.7\r\n platform      linux2 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)\r\n               [GCC 4.5.2]\r\n --------------------------------------------------------------------\r\n *** TKINTER support not available\r\n *** JPEG support not available\r\n *** ZLIB (PNG/ZIP) support not available\r\n *** FREETYPE2 support not available\r\n *** LITTLECMS support not available\r\n --------------------------------------------------------------------\r\n To add a missing option, make sure you have the required\r\n library, and set the corresponding ROOT variable in the\r\n setup.py script.\r\n\r\nApparently 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\nI fixed this issue by building a link to were PIL setup.py looks and where the library really exists!\r\n\r\n\r\n\r\nHow to fix\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 libz.so to /usr/lib**\r\n  \r\n   Ubuntu 32bit:\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   Ubuntu 64bit:\r\n\r\n    .. code-block:: bash\r\n\r\n      sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib\r\n\r\n", "source_format": "rst", "revision_number": 7, "created": 1317331968000}, {"id": "f3459fdb-2f95-11f1-8e96-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\nI was getting the following error even though the zlib dev libraries were already installed correctly. \r\n\r\n.. code-block:: python\r\n\r\n --------------------------------------------------------------------\r\n PIL 1.1.7 SETUP SUMMARY\r\n --------------------------------------------------------------------\r\n version       1.1.7\r\n platform      linux2 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)\r\n               [GCC 4.5.2]\r\n --------------------------------------------------------------------\r\n *** TKINTER support not available\r\n *** JPEG support not available\r\n *** ZLIB (PNG/ZIP) support not available\r\n *** FREETYPE2 support not available\r\n *** LITTLECMS support not available\r\n --------------------------------------------------------------------\r\n To add a missing option, make sure you have the required\r\n library, and set the corresponding ROOT variable in the\r\n setup.py script.\r\n\r\nApparently 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\nI fixed this issue by building a link to were PIL setup.py looks and where the library really exists!\r\n\r\n\r\n\r\nHow to fix\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": 6, "created": 1317331761000}, {"id": "f3459893-2f95-11f1-9710-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\nI was getting the following error even though the zlib dev libraries were already installed correctly. \r\n\r\n.. code-block:: python\r\n\r\n --------------------------------------------------------------------\r\n PIL 1.1.7 SETUP SUMMARY\r\n --------------------------------------------------------------------\r\n version       1.1.7\r\n platform      linux2 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)\r\n               [GCC 4.5.2]\r\n --------------------------------------------------------------------\r\n *** TKINTER support not available\r\n *** JPEG support not available\r\n *** ZLIB (PNG/ZIP) support not available\r\n *** FREETYPE2 support not available\r\n *** LITTLECMS support not available\r\n --------------------------------------------------------------------\r\n To add a missing option, make sure you have the required\r\n library, and set the corresponding ROOT variable in the\r\n setup.py script.\r\n\r\nApparently 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\nI fixed this issue by building a link to were PIL setup.py looks and where the library really exists!\r\n\r\n\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": 5, "created": 1317331748000}, {"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}, {"id": "f3458997-2f95-11f1-b33f-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\n#. 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\n#. 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": 3, "created": 1317331448000}, {"id": "f345813e-2f95-11f1-a253-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\nsudo ln -s /usr/lib/i386-linux-gnu/libz.so /usr/lib", "source_format": "rst", "revision_number": 2, "created": 1317330870000}, {"id": "f34575d9-2f95-11f1-9534-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 s/usr/lib/i386-linux-gnu/libz.so\r\n\r\nTo fix this create a link!\r\n\r\nsudo ln -s /usr/lib/i386-linux-gnu/libz.so /usr/lib", "source_format": "rst", "revision_number": 1, "created": 1306601079000}], "count": 12}