PIL, Python and CGI
Sascha Ferley
Sascha.Ferley at infineon.net
Sun Jun 23 23:02:51 EDT 2002
On Mon, 24 Jun 2002, Richard Jones wrote:
> 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.
You probly mean Apache... I'll take a look for at the conf files for it..
Any ideas where to statically define the lib paths for apache.. i doubt in
the httpd.conf file..
Sascha
More information about the Python-list
mailing list