Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: libjpeg6b (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libjpeg6b in Ubuntu.
https://bugs.launchpad.net/bugs/997756
Title:
Problem finding libraries when installing python packages that depend
on libjpeg62-dev (PIL in this case)
Status in “libjpeg6b” package in Ubuntu:
Confirmed
Bug description:
Problem is that when trying to install PIL in a virtualenv (or
potentially system-wide using easy_install, but I can't confirm 100%),
the PIL installer cannot find the required libraries even though they
have been installed. This is not a problem when using debian for
example. This affects both desktop and server edition of Ubutu 12.04)
There is however a manual fix as described here:
http://www.jayzawrotny.com/blog/django-pil-and-libjpeg-on-ubuntu-1110
Basically it involves making the following symlinks:
# ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib
# ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib
# ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib
(Of course after installing the packages libjpeg62-dev,
libfreetype12-dev, zlib1g-dev)
Although it's become somewhat routine for me when setting up new
python environments, when you don't know about it, it's really
frustrating to try to wrap your head around this problem.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libjpeg62-dev 6b1-2ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Thu May 10 14:56:01 2012
InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Release amd64
(20120425)
ProcEnviron:
LANGUAGE=en_CA:en
TERM=rxvt-unicode
LANG=en_CA.UTF-8
SHELL=/bin/bash
SourcePackage: libjpeg6b
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libjpeg6b/+bug/997756/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp