[Image-SIG] PIL 1.0 and ImportError: ... (init_imaging)

Norman Shelley (rrdn60) rrdn60@email.sps.mot.com
Thu, 23 Mar 2000 10:50:48 -0700


This is a multi-part message in MIME format.
--------------59A5903C7B6CE73CFA04BB40
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Some installation comments and one major problem with PIL Release 1.0
(Jul 31, 1999)

Please copy me directly as I am not a subscribed member of this  list


Environment:
[246] % uname -a
HP-UX wvenus B.10.20 A 9000/782 2009382447 two-user license
[247] % gcc --version
2.95.1



o Setup.in copied to Setup does NOT work until backslashes on these
three lines
are removed:
 -IlibImaging libImaging/libImaging.a \
 -I/usr/local/include -L/usr/local/lib -ljpeg \
 -I/usr/local/include -L/usr/local/lib -lz \



o When building the shared library it complains that libImaging.a was
not built
relative. Had to rebuild it with the -fpic gcc option




o

$ ls *.sl
_imaging.sl
$ PYTHONPATH=.:./PIL ; export PYTHONPATH
$ python
Python 1.5.2 (#4, Nov 10 1999, 09:23:22)  [GCC 2.95.1 19990816
(release)] on hp-uxB
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import _imaging
Traceback (innermost last):
  File "<stdin>", line 1, in ?
ImportError: dynamic module does not define init function (init_imaging)

$ nm _imaging.sl | grep init_
00018700 T init_imaging
00018730 T init_imaging


--
Best regards,



--------------59A5903C7B6CE73CFA04BB40
Content-Type: text/x-vcard; charset=us-ascii;
 name="Norman_Shelley-RRDN60.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Norman Shelley
Content-Disposition: attachment;
 filename="Norman_Shelley-RRDN60.vcf"

begin:vcard 
n:Shelley;Norman
tel;work:(480) 413-3895
x-mozilla-html:FALSE
org:Motorola-SPS
version:2.1
email;internet:rrdn60@email.sps.mot.com
adr;quoted-printable:;;2100 E. Elliot Rd.=0D=0AAZ34-MD EL701;Tempe;AZ;85284;
x-mozilla-cpt:;-4336
fn:Norman Shelley
end:vcard

--------------59A5903C7B6CE73CFA04BB40--