While compiling PHP on a Litespeed web server this evening I ran into multiple issues one of which related to the libxml2 package on the server. This can be confusing because on the server libxml2 was installed. Below is more information regarding the error located in the Litespeed Admin detailed log report which can be easily seen while compiling PHP from the web interface as well as information on what needs to be installed to resolve the error.build error, CentOS, compile, libxml2, libxml2-devel, Linux, Litespeed, lsapi, lsws, PHP, xml2-config, yum, zlib-devel
Posts Tagged “libxml2-devel”
Aug 18 2010
Jan 27 2010
I am working on getting Monarch installed on a server to manage Nagios file. Part of the setup includes installing a bunch of items using Perl’s CPAN. One of the packages I needed to install was called “XML::LibXML::Common” but it failed with an error. The error was overcome on CentOS by installing libxml2-devel using yum. Below are details regarding the error, the yum command to resolve the issue, and the end of a successful install of the initial package.CentOS, CPAN, error, libxml2, libxml2-devel, Linux, make, perl, shell, XML::LibXML::Common, zlib-devel
Jul 06 2009
If you receive the below error on a CentOS Linux server while configuring, compiling, or installing an application then you most likely need to install the development package for libxml2.
Error:configure: error: cannot find xml2-config
The package that includes xml2-config is libxml2-devel which can be installed via yum using the syntax below.CentOS, configure error, error, installation error, libxml2, libxml2-devel, Linux, xml2-config, yum
Apr 02 2009
I received the following error in the log when attempting to compile PHP in the Litespeed web admin.
Error: configure: error: xml2-config not found. Please check your libxml2 installation.
Resolving this error is easy by installing libxml2-devel via yum as shown below.
yum install libxml2-develTags: libxm2, libxml2-devel, Litespeed, PHP, Web Console, yum