Patch for NDOUtils 1.4b2 with RHEL4 64-bit and MySQL

Ethan Galstad nagios at nagios.org
Tue Apr 10 18:16:16 CEST 2007


Alex Burger wrote:
> 
> When using ./configure on RHEL4 64bit, I was getting:
> 
> *** MySQL library could not be located... **************************
> 
> Using ./configure --with-mysql-lib=/usr/lib/mysql didn't work because 
> there is a bug in configure.  Attached is a patch.
> 
> Alex
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> --- configure.old	2007-01-19 15:34:39.000000000 -0500
> +++ configure	2007-04-06 17:44:37.000000000 -0400
> @@ -5897,8 +5897,7 @@
>  	DBLDFLAGS="-L${withval}"
>  	LD_RUN_PATH="${withval}${LD_RUN_PATH:+:}${LD_RUN_PATH}"
>  
> -fi;
> -if test "x$withval" != "xno" ; then
> +else
>  	      	DBLDFLAGS="$LDFLAGS -L/usr/lib/mysql"
>  fi
>  
> 

Thanks - patch will be in CVS shortly...



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV




More information about the Developers mailing list