Solved

Zabbix Installation error

Posted on 2006-07-05
4
634 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Suggested Solutions

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
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…

738 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