Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Zabbix Installation error

Posted on 2006-07-05
4
Medium Priority
?
656 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 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Make the most of your online learning experience.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

927 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