configure error libxml2 library is required
List Search Forums Show Threads Show Posts Tag Search Advanced Search Go to Page... Thread Tools Display Modes #1 14-12-2013, 17:17 Saichovsky Junior Member Join Date: Nov 2013 Location: Nairobi, configure: error: invalid net-snmp directory - unable to find net-snmp-config Kenya Posts: 5 Problem compiling v2.2.1 --with-libxml2 Hi all, I am trying to libxml2 library not found emacs compile zabbix binaries (version 2.2.1) for myself with VMware monitoring support and I have installed libxml2, but ./configure always ends
Configure: Error: Curl Library Not Found
with these lines: Code: checking for xml2-config... /usr/bin/xml2-config checking for xmlReadMemory in -lxml2... no configure: error: Not found libxml2 library What am I to do in order to get past this hurdle? Thanks. S.Configure Error Libxml2 Library Not Found Zabbix
Saichovsky View Public Profile Send a private message to Saichovsky Find all posts by Saichovsky #2 16-12-2013, 17:17 tchjts1 Administrator Join Date: May 2008 Location: California Posts: 1,596 Try also installing libxml2-devel then do a compile. Hope that fixes it for you. tchjts1 View Public Profile Send a private message to tchjts1 Find all posts by tchjts1 #3 16-12-2013, 17:31 Saichovsky Junior Member glusterfs configure: error: libxml2 devel libraries not found Join Date: Nov 2013 Location: Nairobi, Kenya Posts: 5 Hey tchjts1, I'm compiling on Debian Squeeze. The package on Debian is libxml2-dev, which I already have installed but the error keeps showing up. See below (All lines starting with 'i' have packages which are already installed) Code: debian@debian:~/zabbix-2.2.1$ aptitude search libxml2 i A libglobus-libxml2 - Globus Toolkit - LibXML2 Library i libglobus-libxml2-dev - Globus Toolkit - LibXML2 Library Developme i libxml2 - GNOME XML library i libxml2-dbg - Debugging symbols for the GNOME XML librar i libxml2-dev - Development files for the GNOME XML librar p libxml2-doc - Documentation for the GNOME XML library i A libxml2-utils - XML utilities i A python-libxml2 - Python bindings for the GNOME XML library p python-libxml2-dbg - Python bindings for the GNOME XML library v python2.5-libxml2 - v python2.5-libxml2-dbg - v python2.6-libxml2 - v python2.6-libxml2-dbg - debian@debian:~/zabbix-2.2.1$ Saichovsky View Public Profile Send a private message to Saichovsky Find all posts by Saichovsky #4 16-12-2013, 20:36 Ropetin Junior Member Join Date: Oct 2013 Posts: 2 Can you list your full ./configure? Are you trying to enable static binaries by any chance? Ropetin View Public Profile Send a private message to RopetiStart here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of
Install Libxml2
this site About Us Learn more about Stack Overflow the company Business Learn install libxml2 windows more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can https://www.zabbix.com/forum/showthread.php?t=43566 answer The best answers are voted up and rise to the top error: libxml2 is required (modsecurity) up vote 1 down vote favorite I am trying to install mod_security from source. when i run ./configure I get this error: configure: error: libxml2 is required After that error, I executed this command: yum install libxml2 It installed libxml2 properly. However, I'm still getting the same http://serverfault.com/questions/373232/error-libxml2-is-required-modsecurity error from ./configure. How can I resolve this error? mod-security share|improve this question edited Mar 25 '12 at 19:56 womble♦ 76.6k11116182 asked Mar 25 '12 at 19:24 Kashif 298314 In another question you mentioned using CentOS. Why are you installing from source when you could have just done yum install mod_security? –Burhan Ali Apr 6 '12 at 19:33 add a comment| 2 Answers 2 active oldest votes up vote 4 down vote accepted When you build software, you need the library development package, not the shared library package. So, install libxml2-devel and your build problems should go away (or at least the error message will change). share|improve this answer answered Mar 25 '12 at 19:38 womble♦ 76.6k11116182 Thank You Sir. it worked and mod security configured. thumbs up for you. –Kashif Mar 25 '12 at 19:49 add a comment| up vote 0 down vote I don't know how to fix your compile problem, however there is an RPM for mod_security available here: http://download.fedora.redhat.com/pub/fedora/linux/development/source/SRPMS/mod_security-2.5.7-1.fc11.src.rpm share|improve this answer answered Mar 25 '12 at 19:29 Lucas Kauffman 14.9k53876 That particular RPM may not work, given that the OS aall board cookies • All times are UTC Powered by phpBB Forum Software © phpBB Group Forum web-hosting by SourceForge
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] could not be find the libxml2 Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 2 of 2 Thread: could not be find the libxml2 Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode June 21st, 2008 #1 fuatsungur View Profile View Forum Posts Private Message Spilled the Beans Join Date Jun 2008 Beans 14 could not be find the libxml2 hi, when i configure dictconvert in dictconvert folder with ./configure command, then i get an error, it as follows: checking for libxml - version >= 2.5.0... no *** The xml2-config script installed by LIBXML could not be found *** If libxml was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the XML2_CONFIG environment variable to the *** full path to xml2-config. configure: error: You must have libxml2 >= 2.5.0 installed would you give any advice to solve this? thanx Adv Reply June 21st, 2008 #2 moma View Profile View Forum Posts Private Message Skinny Soy Caramel Ubuntu Join Date Jan 2006 Location Palmela, Portugal Beans 640 Re: could not be find the libxml2 Hello, First, update the package index (package list) in your pc. sudo apt-get update Then use the apt-cache command to search for dependencies (missing packages). In your case: apt-cache search libxml apt-cache search libxml | grep dev libxml2-dev - Development files for the GNOME XML library ... Install it. sudo apt-get install libxml2-dev libxml2 in Ubuntu has version 2.6.31 so that's no problem. apt-cache show libxml2-dev Compilation from source needs the header files (*.h), therefore you must install the xxx-dev package. That's why I limited the listing with | grep dev. Dev package will in turn pull out all necessary runtime libraries. Last edited by moma; Ju