[PYTHON IMAGE-SIG] Strange Bug

Guido van Rossum guido@CNRI.Reston.Va.US
Thu, 21 Nov 1996 01:19:56 -0500


> Hello. I have noticed a strange bug in the Imaging Library.
> I have PIL version 0.1b1, and I have just downloaded python 1.4
> PIL compiles perfectly.
> 
> However, when  I try to import the _imaging module I get this:
> 
> >>> import _imaging
> python: can't resolve symbol 'fgetc'
> python: can't resolve symbol 'fgetc'
> python: can't resolve symbol 'fgetc'
> python: can't resolve symbol 'fgetc'
> python: can't resolve symbol 'fgetc'
> python: can't resolve symbol 'fgetc'
> python: can't resolve symbol 'fgetc'
> python: can't resolve symbol 'fgetc'
> Traceback (innermost last):
>   File "<stdin>", line 1, in ?
> ImportError: Unable to resolve symbol
> >>> 

Could it be the old problem (on some systems) that symbols which
aren't used in the main Python binary aren't exported to shared
libraries?  I don't think I use fgetc() anywhere in the core -- I
always use the macro getc().

This seems strange though since I presume that you are using libc as a
shared library on Linux...

--Guido van Rossum (home page: http://www.python.org/~guido/)

=================
IMAGE-SIG - SIG on Image Processing with Python

send messages to: image-sig@python.org
administrivia to: image-sig-request@python.org
=================