Installation of Zlib Prepare Zlib to be compiled: CFLAGS="-O2 -pipe" \     ./configure --prefix=/stage1 --shared The -fPIC flag helps to assure quality in the dynamic zlib library. Some packages expect a static zlib library to be present on the system. To satisfy those programs, compile both the shared and static libraries: make make test Install the libraries: make install