zlib on redhat 6 for adt bundle

To fix the zlib.so.1 compile problem on a 64 bit redhat machine you will want to do the following

1) Download the latest zlib source
2) tar -xvf the downloaded file
3) run ./configure –libdir=/lib (this is where my 32-bit libs are for red hat enterprise 6)
4) edit the Makefile and add -m32 to the CFLAGS and SFLAGS lines
5) Run make to compile
6) make install

Leave a Reply

Your email address will not be published. Required fields are marked *