Instead of
--with-libxml-dir=/usr/local/lib/
try
--with-libxml-dir=/usr/local
I think it is picking up the wrong xml-config script and thus the wrong
libxml2 library.
Do this: grep libxml2 config.log
That should give you a clue which libxml2 it is trying to use.
-Rasmus
Paul Reinheimer wrote:
Hi, thanks for the reply.
I installed libxml2-2.6.23 directly from source, I'm trapped in some
RHEL dependency hell (namely I can't upgrade these packages because
external things like up2date need the current version) that's
prevented me from using the RPMs. I haven't seen any non .rpm -devel
packages so the install was attempted without one.
paul
(to put a face to a name, we met at PHP|Works, I sat across from you
at the speakers dinner)
On 2/25/06, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
Paul Reinheimer wrote:
Hi, I'm trying to compile PHP 5.1.2. (on linux, RHEL 3.1)
My ./configure is:
'./configure' '--with-mysql=/usr/local/mysql'
'--with-apxs=/etc/httpd/bin/apxs' '--with-gd' '--with-png'
'--with-zlib-dir=/root/zlib-1.2.2' '--enable-gd-native-ttf'
'--with-ttf' '--with-jpeg-dir=/usr/local/lib/jpeg-6b/'
'--with-freetype-dir=/usr/local/lib/freetype-2.1.9/'
'--with-xpm-dir=/usr/X11R6/' '--with-tidy' '--with-curl'
'--with-openssl=/usr/local/' '--enable-dba=shared' '--with-db4'
'--disable-eapi' '--with-xsl' '--enable-memory-limit'
'--with-libxml-dir=/usr/local/lib/'
make ends with
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
anyone got any ideas, or hints on what information I should be giving
to make diagnosis easier/possible?
The full output of make is available here:
http://example.preinheimer.com/phpbuild.txt
Looks to me like a libxml2 problem. What sort of libxml2-dev package do
you have installed? I am surprised the configure check didn't complain.
-Rasmus
--
Paul Reinheimer
Zend Certified Engineer