[Nagiosplug-help] MySQL libs location

Thomas tguthmann at cvf.fr
Mon Sep 2 02:02:32 CEST 2002


Hi,

Yes, which OS ? and did you type ldconfig after your mysql library 
installation ?
I remember that I encounter the same problem with my debian but it was 
because I forgot to install the libmysqlclient
Hum, yes, just see that in the Requirement file in your nagiosplugin tarball
check_mysql:
        - Requires the MySQL libraries available from
          http://www.mysql.org
                Lib: libmysql, libmysqlclient

Do you see something missing ?
you got the libmysqlclient.a but where is ... the libmysql.a ?!!

Hope it will help
Tom


Brian Ipsen wrote:

>Hi!
>
> I'm trying to configure/compile the nagios plugin 1.3-beta1 package, but
>have problems with the mysql support. My mysql libs are located in
>/opt/mysql/lib/mysql:
>
>-rw-r--r--    1 mysql    mysql       12430 Jul 27 20:00 libdbug.a
>-rw-r--r--    1 mysql    mysql       36350 Jul 27 20:00 libheap.a
>-rw-r--r--    1 mysql    mysql       15464 Jul 27 20:00 libmerge.a
>-rw-r--r--    1 mysql    mysql      244894 Jul 27 20:00 libmyisam.a
>-rw-r--r--    1 mysql    mysql       23340 Jul 27 20:00 libmyisammrg.a
>-rw-r--r--    1 mysql    mysql      200506 Jul 27 20:00 libmysqlclient.a
>-rwxr-xr-x    1 mysql    mysql         652 Jul 27 20:00 libmysqlclient.la
>-rw-r--r--    1 mysql    mysql       33268 Jul 27 20:00 libmystrings.a
>-rw-r--r--    1 mysql    mysql      216826 Jul 27 20:00 libmysys.a
>-rw-r--r--    1 mysql    mysql      104612 Jul 27 20:00 libnisam.a
>
>But passing
>
>--with-mysqllibdir=/opt/mysql/lib/mysql
>
>together with other options gives me:
>
>configure: warning: Skipping mysql plugin
>configure: warning: install mysql client libs to compile this plugin (see
>Requirements).
>
>I've compiled several other packages using this mysql lib path, why doesn't
>it work with the nagios plugins ??
>
>/Brian
>
>
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by: OSDN - Tired of that same old
>cell phone?  Get a new here for FREE!
>https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
>_______________________________________________
>Nagiosplug-help mailing list
>Nagiosplug-help at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
>
>
>  
>







More information about the Help mailing list