I tried compiling php 5.2.10 myself on lenny.

$ ./configure --with-mysql --with-apxs=/path/to/apxs
[snip]
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... no
configure: error: build test failed. Please check the config.log for details.

From config.log:

configure:20827: checking whether libxml build works
configure:20854: gcc -o conftest -g -O2   conftest.c

         -lresolv -lm -ldl -lnsl  -lxml2 1>&5
/usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/libxml2.so: undefined reference to `gzopen64'
collect2: ld returned 1 exit status
configure: failed program was:
#line 20843 "configure"
#include "confdefs.h"


    char xmlInitParser();
    int main() {
      xmlInitParser();
      return 0;
    }

If you remove the dependency from the .la you probably have to list it using xml2-config, no?

Alexander



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to