PIL, Python and CGI

Richard Jones rjones at ekit-inc.com
Mon Jun 24 04:58:04 CEST 2002


On Mon, 24 Jun 2002 12:51, Sascha Ferley wrote:
> I actually got some nice little traceback that might be of use ..
>
> Traceback (most recent call last):
>   File "/export/server/web/CPSC461/cgi-bin/test4.py", line 10, in ?
>     import _imaging
> ImportError: ld.so.1: /usr/local/bin/python: fatal: libjpeg.so.6: open
> failed: No such file or directory
>
> though:
>
> infinity:/usr/local/lib->ls -ld libjpeg*
> lrwxrwxrwx   1 root     other         12 Jun 16 18:58 libjpeg.so ->
> libjpeg.so.6*
> lrwxrwxrwx   1 root     other         12 Jun 16 18:58 libjpeg.so.1 ->
> libjpeg.so.6*
> -rwxr-xr-x   1 root     bin       137924 May 21  2001 libjpeg.so.6
> infinity:/usr/local/lib->
>
> Which is interesting ... :)

Your web server environment most likely doesn't have /usr/local/lib in its 
LD_LIBRARY_PATH.


   Richard






More information about the Python-list mailing list