Problem getting zlib.o built on solaris 8 system

Reed, Judith JReed at
Thu Apr 24 17:57:20 CEST 2003

Greetings, Python folks. I am not a subscriber to this list, but am
hoping you can help me with a problem installing

python 2.2.2 on Solaris 8. I can configure, but when I do "make", I get
the following errors on the zlib extension build:


building 'zlib' extension

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I. 

      -I/usr/local/src/Python-2.2.2/./Include -I/usr/local/include 


      -c /usr/local/src/Python-2.2.2/Modules/zlibmodule.c 

      -o build/temp.solaris-2.8-sun4u-2.2/zlibmodule.o

gcc -shared build/temp.solaris-2.8-sun4u-2.2/zlibmodule.o 

      -L/usr/local/lib -lz -o build/lib.solaris-2.8-sun4u-2.2/

Text relocation remains                         referenced

    against symbol                  offset      in file

<unknown>                           0x734

<unknown>                           0x738


<unknown>                           0xe18

<unknown>                           0xe1c

<unknown>                           0xe20




I have zlib 1.3.1 installed, so I am baffled as to what is going on
here. Can anyone make any suggestions?
Please reply via email, as I'm not subscribed, I'll summarize if there
is interest.


Huge TIA!!!


Judith Reed

jreed at

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." 

Benjamin Franklin


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list