www.question-defense.com | Engage: Visit :: Login :: Register
Translate to English Übersetzen Sie zum Deutsch/German Переведите к русскому/Russian Μεταφράστε στα ελληνικά/Greek Vertaal aan het Nederlands/Dutch ترجمة الى العربية/Arabic 中文翻译/Chinese Traditional 中文翻译/Chinese Simplified 한국어에게 번역하십시오/Korean 日本語に翻訳しなさい /Japanese Traduza ao Português/Portuguese Traduca ad Italiano/Italian Traduisez au Français/French Traduzca al Español/Spanish
0

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.

yum install libxml2-devel

The below shows what the output on a CentOS Linux server would look like while install libxml2-devel.

[root@dev istat-0.5.3]# yum install libxml2-devel
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package libxml2-devel.i386 0:2.6.26-2.1.2.7 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
libxml2-devel i386 2.6.26-2.1.2.7 base 2.1 M

Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 2.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): libxml2-devel-2.6. 100% |=========================| 2.1 MB 00:02
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: libxml2-devel ######################### [1/1]

Installed: libxml2-devel.i386 0:2.6.26-2.1.2.7
Complete!

Once installed run your configure, compile, or install script again and you should not receive the same error message.


The Linux Kernel Module Programming Guide

Peter Jay Salzman. CreateSpace 2009, Paperback, 86 pages, $15.93

3.0


LINUX Network Administrators Guide

Olaf Kirch and Terry Dawson. CreateSpace 2009, Paperback, 508 pages, $25.50

DeliciousStumbleUponDiggTwitterMixxTechnoratiFacebookNews VineLinkedInYahoo! Bookmarks
Related posts:
  1. error: invalid Python installation: unable to open /usr/lib/python2.4/config/Makefile (No such file or directory) I received the error below when attempting to use easy_install...
  2. Compiling PHP with Litespeed: configure: error: xml2-config not found I received the following error in the log when attempting...
  3. Perl CPAN install XML::LibXML::Common, Error: libxml2 not found I am working on getting Monarch installed on a server...
  4. ERROR: Error installing webrat: Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. One of my tasks today at work was to install...
  5. checking for mysql_close in -lmysqlclient… no I received the below error when attempting to compile PHP...

Tags: , , , , , , , ,
Leave a Reply