Passing --with-zlib=-lz should do the trick for it to use it shared instead, which is much better.
Fixed in oops-1.5.24_pre20050503-r3.