Checking for mysql_init in -lmysqlclient
Bonjour,
Je cherche à installer Nagios Et je fais le configure en utilisant la commande suivante :
./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=nagios
Et j'ai un problème de mysql.. Il me renvoie :
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
.........
checking for mysql_init in -lmysqlclient... no
*** Mysql libraries could not be located... *********
Donc il ne trouve pas le mysql_init in -lmysqlclient , donc il ne trouve pas les librairies de Mysql (Mysql libraries could not be located).. Alors que j'ai installer tout ce qui est mysql :
mysqlclient10-devel-3.23.58-4.RHEL4.1
mysql-devel-4.1.7-4.RHEL4.1
php-mysql-4.3.11-2.8.4.legacy
mysql-4.1.7-4.RHEL4.1
mysqlclient10-3.23.58-4.RHEL4.1
mysql-server-4.1.7-4.RHEL4.1
Donc moi je pense que les librairies libmysqlclient se trouve dans mysql-devel-4.1.7-4.RHEL4.1.. ( Sauf si je me trompe).. Donc je comprends pas pourkoi il me renvoie cette erreur..
Donc pour infos j'utilise un RED HAT Enterprise 4, j'installe la nouvelle de Nagios qui fonctionne avec Nareto...
Qui aurait un idée de comment resoudre le problème ???
Merci...