compiling nagios 1.1 with mysql support - OK now.

Daniel Tran dtran at ssc.ucla.edu
Fri Aug 1 22:40:22 CEST 2003


Sorry for hasty post.
I mistyped the configure syntax.
Everything is well now.

Thanks - Daniel
> 
> 
> 
> > Hi,
> > I'm trying to compile nagios 1.1 on redhat9 with mysql 
> support.  I'm 
> > getting the error shown below. My /etc/ld.so.conf has 
> /usr/lib/mysql 
> > as the directory for the libraries. Any suggestion how to resolve 
> > this?
> > 
> > Thanks - daniel
> > 
> > 
> > Init script directory:  /etc/rc.d/init.d
> > We'll use MySQL database routines (in xdata/xsddb.*) for 
> status data 
> > I/O... We'll use MySQL database routines (in xdata/xcddb.*) for 
> > comment data I/O...
> > We'll use MySQL database routines (in xdata/xeddb.*) for 
> extended data
> > I/O...
> > We'll use MySQL database routines (in xdata/xrddb.*) for 
> retention data
> > I/O...
> > We'll use template-based routines (in xdata/xodtemplate.*) 
> for object data
> > I/O..
> > .
> > We'll use default routines (in xdata/xpddefault.*) for 
> performance data
> > I/O...
> > We'll use MySQL database routines (in xdata/xdddb.*) for scheduled
> > downtime data
> >  I/O...
> > checking for main in -lmysqlclient... no
> >  
> >  
> > *** 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.
> >  
> > NOTE: After you install the necessary libraries on your system:
> >       1. Make sure /etc/ld.so.conf has an entry for the directory in
> >          which the MySQL libraries are installed.
> >       2. Run 'ldconfig' to update the run-time linker options.
> >       3. Run 'make clean' in the Nagios distribution to clean out
> >          any old references to your previous compile.
> >       4. Rerun the configure script.
> >  
> > ********************************************************************
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites 
> including Data Reports, E-commerce, Portals, and Forums are 
> available now. Download today and enter to win an XBOX or 
> Visual Studio .NET. 
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
_072303_01/01
_______________________________________________
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



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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