Saturday, November 15

Geek

Pixy's DLL Hell Tip Of The Day

If you are trying to build PHP 5.2 on RedHat 5 x86_64, and it fails with
Configuring extensions
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.
even though you know full well that libxml2 is installed, what you need to do is
yum erase zlib-devel
yum install zlib-devel
yum install libxml2-devel
Erasing zlib-devel will also remove libxml2-devel due to the dependencies (and maybe a whole bunch of other stuff, so be careful!), so you need to reinstall it afterwards.

Posted by: Pixy Misa at 11:44 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 108 words, total size 1 kb.

Comments are disabled. Post is locked.
44kb generated in CPU 0.0184, elapsed 0.1101 seconds.
54 queries taking 0.1014 seconds, 344 records returned.
Powered by Minx 1.1.6c-pink.