Compile Error with MySQL Support

Karl Latiss karl at designit.com.au
Mon Jun 23 11:55:03 CEST 2003


On Sat, 2003-06-21 at 23:55, allan wrote:
> I am attempting to compile Nagios with complete mySQL support.  The swithces I am using are ...
> 
> ./configure --with-mysql-xdata --with-mysql-status --with-mysql-comments --with-mysql-extinfo --with-mysql-retention --with-mysql-downtime --with-mysql-inc=/usr/include/mysql --with-mysql-lib=/usr/lib/mysql
> 
If you specify

--with-mysql-xdata

you don't need all the other --with-mysql stuff

EXCEPT

--with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql

This worked fine for me on RH7.3 and Nagios 1.0

Karl.

> I have installed the following mySQL Packages..
> 
> mysql-3.23.54a-11
> mysql-devel-3.23.54a-11
> mysql-server-3.23.54a-11
> 
> though, when I try to compile - I get the following error..
> 
> *** MySQL library could not be located...*****************
>  
> You chose to compile Nagios with MySQL support, but I was unable to locate the MySQL library on your system.  If the library is
> installed,  use the --with-mysql-lib and --with-mysql-inc arguments to specify the locations of the MySQL library and include files.
> 
> 
> I have the following mysqlclient files in ghe /usr/lib/mysql directory - 
> 
> /usr/lib/mysql/libmysqlclient.a      /usr/lib/mysql/libmysqlclient.so.10.0.0  /usr/lib/mysql/libmysqlclient_r.so.10
> /usr/lib/mysql/libmysqlclient.so     /usr/lib/mysql/libmysqlclient_r.a        /usr/lib/mysql/libmysqlclient_r.so.10.0.0
> /usr/lib/mysql/libmysqlclient.so.10  /usr/lib/mysql/libmysqlclient_r.so
> 
> 
> Any ideas on how to get this to compile - would be appreciated.
> 
> Thanks,
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
-- 
Karl Latiss <karl at designit.com.au>
design IT



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list