# 2008-01-08 Herbert Straub # http://www.linuxhacker.at # # 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:18:32.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,[