Skip to content

libz>=1.2.1 requirement - necessary?

2 messages · Simon Urbanek, Brian Ripley

#
I the course of cleaning up the build for OS X I wondered why R 
requires zlib 1.2.1+. Is there any specific reason for that? OS X comes 
with zlib 1.1.4, so I wonder if using the system library has any 
drawbacks... (it worked for me, but..). I found nothing in the 
archives, but maybe someone remembers?

Cheers,
Simon
6 days later
#
There are some slight interface differences in the gzfile code, so 1.2.1
is needed.  However, we have since found a bug in that which affects R, so
please use the bundled code.

The circumstances of both are rather rare, and valgrind was needed to show 
the second (a use of an unitialized variable that sometimes bit us).
On Tue, 20 Jul 2004, Simon Urbanek wrote: