i make install with confg :
./configure --with-mysql --with-apache=../apache_1.3.14 --enable-track-vars --disable-debug --with-ibm-db2=/usr/IBMdb2/V7.1 --with-oci8=/u01/app/oracle/product/8.1.6 --enable-sigchild --with-pgsql=/usr/local/pgsql --with-gd=../gd-1.8.3 --enable-wddx --with-xml --with-zlib --with-dom

but it always create and error message like this :
modules/php4/libphp4.a(php_domxml.o): In function php_xpathptr_new_context':
/home/hui/php-4.0.4pl1/ext/domxml/php_domxml.c:1533: undefined reference to
xmlXPtrNewContext'
modules/php4/libphp4.a(php_domxml.o): In function php_xpathptr_eval':
/home/hui/php-4.0.4pl1/ext/domxml/php_domxml.c:1598: undefined reference to
xmlXPtrEval'
collect2: ld returned 1 exit status
make[2]: [target_static] Error 1
make[2]: Leaving directory /home/hui/apache_1.3.14/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory
/home/hui/apache_1.3.14'
make:
[build] Error 2

could you help me figure out where the problem come from ? i think it's from the dom ...
thanks for your concern

    I have the exact same problem. My configuration options are allmost all differnt from yours, except for --with-dom, so it must be that option that causes the problem.

    I have tried to search in all .c and .h files for that function, but didn't find it.

    BTW : I get the error when compiling Apache.

      Which libxml version(s) do you have on your system?

        I installed ver. 2.3.2 (both libxml and libxml-devel).

          Your libxml may be too new. Does it work if you use a version like libxml 2.2.11? (It should.)

            That did the trick.. thanks!

            Now I can build the next generation of XML based websites :-)

              i use libxml2-2.3.3-1(and the devel too)
              thanks for your information, i'll try to use 2.2.11 !!

                it's work ! thanks !!

                  Write a Reply...