Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install/upgrade the version of PHP we're using on our internal server at work. Doing it from the tarball from and when it comes time to run ./configure I get this error:

checking whether libxml build works... no configure: error: build test failed. Please check the config.log for details.

The config.log has this to say about libxml:

configure:22189: checking whether libxml build works configure:22216: cc -o conftest -g -O2 -fvisibility=hidden conftest.c

    -lrt -lm -ldl -lnsl  -lxml2 >&5

/usr/lib/gcc/i486-linux-gnu/4.4.6/../../../i386-linux-gnu/ undefined reference >to `gzopen64@ZLIB_1.2.3.3'

I've already tried doing a pretty basic update of libxml from apt and installing specifically zlib from a tarball on and frankly that's me all out of ideas.

EDIT Solved. Updating to the latest version of zlib rather than using has fixed the issue.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.