[Nagiosplug-help] MySQL libs location

Brian Ipsen Brian.Ipsen at andebakken.dk
Mon Sep 2 02:10:58 CEST 2002


Hi,

 The OS is RedHat 7.3. I've compiled MySQL myself, and the mysql client
stuff is installed (and can be used/linked with a lot of other packages) -
but wanted to solve the problem quickly, so I made a symbolic link from
/opt/mysql/lib/mysql to /usr/lib/mysql - and then things worked a little
better.
 libmysql ? Hm... shouldn't it be installed automatically when I do an
source-based "make install" in MySQL ??

Anyway, I got the problem solved by a work-around...

/Brian

> -----Original Message-----
> From: Thomas [mailto:tguthmann at cvf.fr]
> Sent: 2. september 2002 10:58
> To: Brian Ipsen
> Cc: nagiosplug-help at lists.sourceforge.net
> Subject: Re: [Nagiosplug-help] MySQL libs location
>
>
> 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