Solved

Zabbix Installation error

Posted on 2006-07-05
4
627 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

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Question has a verified solution.

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

Suggested Solutions

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

932 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now