<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Once again,<br>
<br>
./configure --help <br>
<br>
gives you all the help you need.<br>
<br>
Try <br>
<br>
ls /usr/lib/mysql | grep libmysqlclient.so<br>
<br>
and check the output. If there is nothing found, try<br>
<br>
find /usr/lib/ | grep </tt><tt>libmysqlclient.so<br>
<br>
The path to the found file (in case) is the one you need for configure
e.g.<br>
<br>
</tt><tt>./configure --with-mysql-lib=/usr/lib/mysql<br>
<br>
Same thing for mysql.h<br>
<br>
find /usr/include/ | grep 'mysql.h'<br>
<br>
and adjust this to your needs e.g.<br>
<br>
./configure --with-mysql-lib=/usr/lib/mysql
--with-mysql-inc=/usr/include/mysql<br>
<br>
and then give the whole configure output.<br>
<br>
but PLEASE REPLY, do _not_ start another thread.<br>
<br>
Kind regards,<br>
Michael<br>
<br>
<br>
</tt><br>
Natalie Aloi wrote the following on 25.06.2009 14:57:
<blockquote cite="mid:W3355532237141541245934665@webmail33" type="cite">
  <div><font face="Verdana" size="2">Hi I am having trouble getting
ndoutils to work </font></div>
  <div><font size="2">during my install I found this information logged:</font></div>
  <div> </div>
  <div>*** MySQL library could not be located...
**************************<br>
You chose to compile NDBXT with MySQL support, but I was unable to<br>
locate the MySQL library on your system.  If the library is<br>
installed,  use the --with-mysql-lib argument to specify the<br>
location of the MySQL library.<br>
NOTE: After you install the necessary libraries on your system:<br>
      1. Make sure /etc/ld.so.conf has an entry for the directory in<br>
         which the MySQL libraries are installed.<br>
      2. Run 'ldconfig' to update the run-time linker options.<br>
      3. Run 'make devclean' in the NDBXT distribution to clean out<br>
         any old references to your previous compile.<br>
      4. Rerun the configure script.<br>
TIP: Try the following....<br>
         ./configure --with-mysql-lib=/usr/lib/mysql<br>
  <font size="2">I have a question about step 1. When I more the file
all it has in it is this information:</font></div>
  <div> </div>
  <div>[root@nagios etc]# more ld.so.conf<br>
include ld.so.conf.d/*.conf<br>
  <font size="2"> </font></div>
  <div><font size="2">My question is what is the syntax of the
libraries I have no idea what to add into this file.</font></div>
  <div><font size="2">Do I just add "/usr/lib/mysql" ?</font></div>
  <div> </div>
  <div><font size="2">I am running Fedora 9</font></div>
  <div><font size="2">mysql has been installed (see below:)</font></div>
  <div>[root@nagios etc]# rpm -qa | grep mysql<br>
qt-mysql-4.5.0-14.fc9.i386<br>
mysql-administrator-5.0r12-8.fc9.i386<br>
mysql-server-5.0.77-1.fc9.i386<br>
mysql-devel-5.0.77-1.fc9.i386<br>
mysql-connector-odbc-3.51.24r1071-1.fc9.i386<br>
mysql-connector-java-3.1.12-5.fc9.i386<br>
php-mysql-5.2.6-2.fc9.i386<br>
mysql-5.0.77-1.fc9.i386<br>
libdbi-dbd-mysql-0.8.3-2.fc9.i386<br>
mysql-libs-5.0.77-1.fc9.i386<br>
nagios-plugins-mysql-1.4.13-9.fc9.i386<br>
mysql-gui-common-5.0r12-8.fc9.i386</div>
  <div>below is infor from mysql for nagios db for ndoutils....<br>
mysql> use nagios<br>
Reading table information for completion of table and column names<br>
You can turn off this feature to get a quicker startup with -A<br>
Database changed<br>
mysql> show tables;<br>
+-------------------------------------+<br>
| Tables_in_nagios                    |<br>
+-------------------------------------+<br>
| ndo_acknowledgements                |<br>
| ndo_commands                        |<br>
| ndo_commenthistory                  |<br>
| ndo_comments                        |<br>
| ndo_configfiles                     |<br>
| ndo_configfilevariables             |<br>
| ndo_conninfo                        |<br>
| ndo_contact_addresses               |<br>
| ndo_contact_notificationcommands    |<br>
| ndo_contactgroup_members            |<br>
| ndo_contactgroups                   |<br>
| ndo_contactnotificationmethods      |<br>
| ndo_contactnotifications            |<br>
| ndo_contacts                        |<br>
| ndo_customobjectvariables           |<br>
| ndo_downtimehistory                 |<br>
| ndo_eventhandlers                   |<br>
| ndo_externalcommands                |<br>
| ndo_flappinghistory                 |<br>
| ndo_host_contactgroups              |<br>
| ndo_host_parenthosts                |<br>
| ndo_hostchecks                      |<br>
| ndo_hostdependencies                |<br>
| ndo_hostescalation_contactgroups    |<br>
| ndo_hostescalations                 |<br>
| ndo_hostextinfo                     |<br>
| ndo_hostgroup_members               |<br>
| ndo_hostgroups                      |<br>
| ndo_hosts                           |<br>
| ndo_hoststatus                      |<br>
| ndo_instances                       |<br>
| ndo_logentries                      |<br>
| ndo_notifications                   |<br>
| ndo_objects                         |<br>
| ndo_processevents                   |<br>
| ndo_programstatus                   |<br>
| ndo_runtimevariables                |<br>
| ndo_scheduleddowntime               |<br>
| ndo_service_contactgroups           |<br>
| ndo_servicechecks                   |<br>
| ndo_servicedependencies             |<br>
| ndo_serviceescalation_contactgroups |<br>
| ndo_serviceescalations              |<br>
| ndo_serviceextinfo                  |<br>
| ndo_servicegroup_members            |<br>
| ndo_servicegroups                   |<br>
| ndo_services                        |<br>
| ndo_servicestatus                   |<br>
| ndo_statehistory                    |<br>
| ndo_systemcommands                  |<br>
| ndo_timedeventqueue                 |<br>
| ndo_timedevents                     |<br>
| ndo_timeperiod_timeranges           |<br>
| ndo_timeperiods                     |<br>
+-------------------------------------+<br>
54 rows in set (0.00 sec)<br>
mysql></div>
  <div> </div>
Network Operations Center Manager <br>
Experis Data Center LLC <br>
8209 Valley Pike <br>
PO Box 535 <br>
Middletown,VA 22645 <br>
phone:540-869-8702 <br>
cell:240-988-3267 <br>
fax:540-869-8710 <br>
<a class="moz-txt-link-abbreviated" href="mailto:e-mail:naloi@experisdatacenters.com">e-mail:naloi@experisdatacenters.com</a>
  <pre wrap="">
<hr size="4" width="90%">
------------------------------------------------------------------------------
  </pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
DI (FH) Michael Friedrich
<a class="moz-txt-link-abbreviated" href="mailto:michael.friedrich@univie.ac.at">michael.friedrich@univie.ac.at</a>
Tel: +43 1 4277 14359

Vienna University Computer Center
Universitaetsstrasse 7 
A-1010 Vienna, Austria  
</pre>
</body>
</html>