If you installed libxml2 from source--rather than from RPM--chances are that it's been installed in a folder other than the system library directory (/usr/lib). It's probably in /usr/local/lib instead. So you can do one of two things: either reconfigure libxml2 specifying --prefix=/usr or reconfigure PHP --with-libxml-dir= and your actual libxml2 installation path.
Cheers, Marco On Tue, 2003-07-01 at 13:11, Mauricio Cuenca wrote: > Hello, > > I've tried several times compiling PHP 5.0.0b1 on a Linux RedHat 8.0 using > this configure command: > ./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5 > > And I get the following error: > configure: error: libxml2 version 2.5.1 or greater required. > > Then, I downloaded and compiled libxml 2.5.7 and the same error appears. > > I've compiled several diffrent versions of PHP before without problems. Has > anyone had a similar problem ? > > TIA, > > _____________________ > Mauricio Cuenca -- Marco Tabini President Marco Tabini & Associates, Inc. 28 Bombay Avenue Toronto, ON M3H 1B7 Canada Phone: (416) 630-6202 Fax: (416) 630-5057 Web: http://www.tabini.ca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php