Solved

Zabbix Installation error

Posted on 2006-07-05
4
633 Views
Last Modified: 2007-12-19
I get this error when i run the configure command for zabbix installation.

configure: error: Invalid MySQL directory - unable to find mysql.h

The command i am running from the root of zabbix was
#     ./configure --enable-server --with-mysql --with-net-snmp

I am following the instructions from
http://www.zabbix.com/manual/v1.1/install_server.php

Please advise how i can overcome that error. Thanks,
0
Comment
Question by:jibranilyas
  • 2
  • 2
4 Comments
 

Author Comment

by:jibranilyas
ID: 17045551
My OS is Ubuntu
0
 
LVL 16

Accepted Solution

by:
The--Captain earned 500 total points
ID: 17047567
You need the mysql development package, AFAIK.

I've installed zabbix a few times, but I'm pretty good at getting linux software to work (actually, I'm very good), so if it needed something that I didn't have in order to successfully install, I'm sure I just grabbed it and moved on (and as such, don't remember exactly what was necessary).

Typically, when you are compiling something (trust me - you are, whether you know it or not), and the compiling system complains about not having a .h file for a package you already have installed, you typically need the development package for the existing package (it usually has a "-dev" component to the package file name).

Cheers,
-Jon
0
 

Author Comment

by:jibranilyas
ID: 17050662
Thanks Captain,
Here is what I did

apt-get install libmysqlclient14-dev

and it works :)
0
 
LVL 16

Expert Comment

by:The--Captain
ID: 17053839
Yup - I knew it was going to be a dev package.

Glad to hear you got it working.

Cheers,
-Jon
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question