NDOUtils configure error on CentOS x86_64
Herbert Straub
herbert at linuxhacker.at
Tue Jan 8 15:42:33 CET 2008
The specification of the configure options --with-mysql-lib and
--with-pgsql-lib does not work. The mysql library path cannot found. I
think, my patch fix this problem. Second, the default specification of
/usr/lib/mysql does not work on x86_64. I think, my patch fix this also.
--- configure.in.orig 2008-01-08 15:14:33.000000000 +0100
+++ configure.in 2008-01-08 15:15:01.000000000 +0100
@@ -177,7 +177,7 @@
])
if test "$withval" = "" ; then
dnl If no library path specified, add default (RedHat) path for
good measure
- DBLDFLAGS="$LDFLAGS -L/usr/lib/mysql"
+ DBLDFLAGS="$LDFLAGS -L/usr/lib/mysql -L/usr/lib64/mysql"
fi
AC_ARG_WITH(mysql-inc,--with-mysql-inc=DIR sets location of the MySQL
client include files,[
DBCFLAGS="${DBCFLAGS} -I${withval}"
@@ -185,7 +185,7 @@
dnl Optional PostgreSQL library and include paths
AC_ARG_WITH(pgsql-lib,--with-pgsql-lib=DIR sets location of the
PostgreSQL client library,[
- DBLDFLAGS="-L${withval}"
+ DBLDFLAGS=" ${DBLDFLAGS} -L${withval}"
LD_RUN_PATH="${withval}${LD_RUN_PATH:+:}${LD_RUN_PATH}"
])
AC_ARG_WITH(pgsql-inc,--with-pgsql-inc=DIR sets location of the
PostgreSQL client include files,[
Download the patch from:
http://src.linuxhacker.at/patches/ndoutils-1.4b7-mysql.patch
Regards
Herbert Straub
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
More information about the Developers
mailing list