diff -ru Python-2.4.3-orig/Makefile.pre.in Python-2.4.3/Makefile.pre.in --- Python-2.4.3-orig/Makefile.pre.in 2006-08-27 12:37:59.000897320 +0200 +++ Python-2.4.3/Makefile.pre.in 2006-08-27 12:43:10.695019039 +0200 @@ -351,7 +351,7 @@ libpython$(VERSION).so: $(LIBRARY_OBJS) if test $(INSTSONAME) != $(LDLIBRARY); then \ - $(LDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \ + $(LDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) -lz; \ $(LN) -f $(INSTSONAME) $@; \ else\ $(LDSHARED) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \