Configure Error Libxml2 Library Is Required
Contents |
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, Kenya Posts: 5 Problem compiling configure: error: invalid net-snmp directory - unable to find net-snmp-config v2.2.1 --with-libxml2 Hi all, I am trying to compile zabbix binaries (version 2.2.1) for
Libxml2 Library Not Found Emacs
myself with VMware monitoring support and I have installed libxml2, but ./configure always ends with these lines: Code: checking for xml2-config... /usr/bin/xml2-config configure: error: curl library not found 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. Saichovsky View Public Profile Send a private message to Saichovsky Find configure error libxml2 library not found zabbix 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 Join Date: Nov 2013 Location: Nairobi, Kenya Posts: 5 Hey tchjts1, I'm compiling on Debian
Glusterfs Configure: Error: Libxml2 Devel Libraries Not Found
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 Ropetin Find all posts by Ropetin #5 17-12-2013, 14:04 Saichovsky Junior Member Join Date: Nov 2013 Location: Nairobi, Kenya Posts: 5 Hey Ropetin, I was attempting to compile using t
Support Search GitHub This repository Watch 3 Star 9 Fork 6 mysqludf/lib_mysqludf_xml Code Issues 2 Pull requests 0 Projects 0 Pulse Graphs New issue configure: error: "could not find headers for libxml2: #1 install libxml2 Closed Sarge2013 opened this Issue Aug 4, 2013 · 17 comments Projects None yet install libxml2 windows Labels None yet Milestone No milestone Assignees No one assigned 6 participants Sarge2013 commented Aug 4, 2013 Hello, installing on CentOS 6.4 I met the following problem ./configure it starts configuration but stops with checking for libxml2... configure: error: "could not find headers for libxml2: /usr/include/libxml or /usr/include/libxml2/libxml" On http://stackoverflow.com/questions/5544074/cannot-compile-when-using-libxml I found an advise "You need https://www.zabbix.com/forum/showthread.php?t=43566 always to keep the -I/usr/include/libxml2 in your gcc statement, so that it can find the header files" But how to use it, what file and how should be corrected ? Or may be there is another solution ? Thank you very much in advance ! UDF Repository for MySQL member jasny commented Aug 4, 2013 You need to install the libxml2 development files. If you're on Debian or Ubuntu run sudo https://github.com/mysqludf/lib_mysqludf_xml/issues/1 apt-get install libxml2-dev. On CentOS run yum install libxml2-devel. jasny closed this Aug 4, 2013 Sarge2013 commented Aug 4, 2013 I already tried yum install libxml2-devel Loaded plugins: priorities 176 packages excluded due to repository priority protections Setting up Install Process Package libxml2-devel-2.7.6-12.el6_4.1.x86_64 already installed and latest version Nothing to do So I already have latest package of libxml2-devel - but it does not solve the problem. Best regards, Serge UDF Repository for MySQL member jasny commented Aug 4, 2013 Hmm try running ./configure --with-libxml2=/usr/bin/xml2-config jasny reopened this Aug 4, 2013 Sarge2013 commented Aug 4, 2013 I have same again [root@zulu281 xmlmaster]# ./configure --with-libxml2=/usr/bin/xml2-config ......................... configure: setting libdir to mysql plugin dir /usr/lib64/mysql/plugin checking for libxml2... configure: error: "could not find libxml2: /usr/bin/xml2-config/lib/libxml2.so" [root@zulu281 xmlmaster]# I do not insist but may be a solution from StackOverflow (see above) could be useful ? I just don't know how to use it... Monday, August 5, 2013, 1:27:26 AM, you wrote: Hmm try running ./configure --with-libxml2=/usr/bin/xml2-config — Reply to this email directly or view it on GitHub. UDF Repository for MySQL member jasny commented Aug 4, 2013 The StackOverflow solution is about compiling libxml2. You should use the one build by CentOS. So that answer isn't appropriate. You should have the executable '/usr/bin/xml2-config', which
to compile. zabbix-2.2.4# ./configure --prefix=/usr --enable-proxy --with-net-snmp --with-mysql --with-ssh2 --enable-ipv6 --with-libcurl --with-libxml2 checking for http://lachlanmiskin.com/blog/2014/07/13/zabbix-proxy-dependencies/ mysql_config... no configure: error: MySQL library not found # apt-get install libmysqlclient-dev checking for xml2-config... no configure: error: LIBXML2 library not found # apt-get install http://stackoverflow.com/questions/19904083/how-to-fix-error-with-xml2-config-not-found-when-installing-php-from-sources libxml2-dev configure: error: Not found Net-SNMP library apt-get install libsnmp-dev # apt-get install snmp configure: error: SSH2 library not found Built from source and installed. not found http://www.libssh2.org/ E: Unable to locate package curl-dev # apt-get install libcurl4-openssl-dev configure: error: Not found Net-SNMP library # sudo apt-get install libsnmp-dev After these packages were installed it built successfully. Enjoy this article? Consider subscribing to our rss feed! Filed under: Software Leave a comment Leave a Reply Cancel reply library not found Your email address will not be published. Required fields are marked *Comment Name (required) Email (required) Website Zabbix User Parameters For Monitoring OSX Battery » « Billion BiPAC 5200 RC SNMP OIDs Recent Posts Foscam FI9903P Support For Synology Surveillance Station Zabbix User Parameters For Monitoring OSX Battery Zabbix Proxy Dependencies Billion BiPAC 5200 RC SNMP OIDs Synology DSM 5.0 SNMP Interface Statistics OIDs Recent Commentsterry on Create new Windows Homegroup when there is an exisiting Homegroup on the networkAndyM on Cisco SG 200-08 Trunkinggoogleplay on How To Get The Apple Thunderbolt Ethernet Adapter Working In WindowsKirt on localhost/zm can not be found. Error 404.Marty on Create new Windows Homegroup when there is an exisiting Homegroup on the networkCategories Asp.Net Cisco General Linux Networking Raspberry Pi Software Uncategorized Vision Drive ZoneMinder Archives May 2015 April 2015 July 2014 May 2014 April 2014 April 2013 October 2012 September 2012 August 2
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 this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How to fix error with xml2-config not found when installing PHP from sources? up vote 92 down vote favorite 6 When I try to install php 5.3 stable from source on Ubuntu (downloading compressed installation file from http://www.php.net/downloads.php) and I run ./configure I get this error: configure: error: xml2-config not found. Please check your libxml2 installation. php compilation php-5.3 share|improve this question edited Nov 12 '14 at 14:29 kenorb 21.2k8151121 asked Nov 11 '13 at 10:30 TroodoN-Mike 5,66363456 Related: How to fix PHP installation when xml2-config is missing? –kenorb Nov 12 '14 at 14:30 add a comment| 2 Answers 2 active oldest votes up vote 204 down vote accepted All you need to do instal install package libxml2-dev for example: sudo apt-get install libxml2-dev On CentOS/RHEL: sudo yum install libxml2-devel share|improve this answer edited Nov 20 '14 at 17:42 radtek 6,2463552 answered Nov 11 '13 at 10:30 TroodoN-Mike 5,66363456 5 I'm using centos 6.4, for me the package was called libxml2-devel –msknapp May 17 '14 at 19:27 4 for the error in centos 7 run: sudo yum install libxml2-devel –TroodoN-Mike Aug 13 '14 at 10:43 2 Does anyone know why the dev version is required over the standard libxml2 package? –JLewkovich Aug 27 '15 at 14:42 1 @JLewkovich I'd assume it's because the dev version contains the source code or something. As far as I can tell, if you compile something from source you must also have the source code for all it's dependencies. –starbeamrainbowlabs Oct 10 '15 at 10:56 2 This answer still applies to PHP7 for any PHP7 experimenters coming here –samrap Oct 11 '15 at 5:41 | show 1 more comment up vote 1 down vote For the latest versions it is needed to install libxml++2.6-dev like that: apt-get install libxml++2.6