[Image-SIG] Imaging-1.0 problems on IRIX 6.5
Anantha Prasad
aprasad/ne_de@fs.fed.us
Thu, 30 Sep 1999 15:57:04 -0400
Hi:
I installed Python1.5.2 and then tried to install Imaging-1.0 (in order
to run sketch)
(platform: IRIX 6.5.3 on SGI Indigo2 EX). I run into the following
problem:
* since I don't have the JPEG, PNG and ZIP support, I commented this out
in the Setup file...
as per the instructions in the README file and compiled.
No problem until:
$ PYTHONPATH=.:./PIL ; export PYTHONPATH
$ python
>>> import _imaging
Traceback (innermost last):
File "<stdin>", line 1, in ?
ImportError: 39705:python: rld: Fatal Error: unresolvable symbol in
./_imaging.so: jpeg_resync_to_restart
>>> import Image
The "import Image" worked OK.
Why am I getting this even though I commented out the relevant sections
in the
Setup file before compiling as below:
_imaging _imaging.c decode.c encode.c map.c display.c outline.c path.c
\
-IlibImaging libImaging/libImaging.a \
#
# *** IJG JPEG library (libjpeg) location
# -I/usr/local/include -L/usr/local/lib -ljpeg \
#
# *** ZLIB (libz) location
# -I/usr/local/include -L/usr/local/lib -lz \
#
# *** Tcl/Tk support and library location
Tk/tkImaging.c -DWITH_TKINTER -I/usr/local/include
-L/usr/local/lib -ltcl8.0 -ltk8.0
# --------------------------------------------------------------------
# uncomment to enable the SANE driver (see Sane/README for more info)
# _sane Sane/_sanemodule.c -IlibImaging -L/usr/local/lib/sane/
-lsane-dll
The sketch program is core dumping and I am suspecting that it is
because of this error in
the _imageing.so
Thanks much in advance for any help.
Prasad
--
*****************************************************************************
Mr. Anantha Prasad Ph: (740)-368-0103
Ecologist/Spatial_Analyst Fax: (740)-368-0152
N.E. Research Station Email: aprasad/ne_de@fs.fed.us
USDA Forest Service http://www.fs.fed.us/ne/delaware/4153/4153.html
359 Main Rd. Don't Miss Global Change Study!!
Delaware OHIO 43015
USA
****************************************************************************