--Fernando Barros wrote on 10.01.2002 12:21 -0200: > configure: error: --with-authmysql specified but no mysqlclient.so > > MySQL is running and the correct path is in ld.so.conf.
Courier does not need mysql(-server), just the client-libraries. > I´ve already done that but it doesn´t work > > env LIBS="-L/usr/local/mysql/lib -lmysqlclient" \ This should go into LD_FLAGS. > CPPFLAGS="-I/usr/local/mysql/lib" The one above is badly wrong, see `man gmake`. > LDFLAGS="-L/usr/local/mysql/lib" Missing -lmysqlclient.so > export CPPFLAGS > export LDFLAGS You are mixing up .../lib and .../include (or .../mysql/lib and .../mysql/include, as per default). Additionally, you dont have mysql installed as per default, and mysql_config seems not to exist in your path. Snippet of a configure-script: PREFIX="/usr/local" COURIER_HOME="$PREFIX/$COURIER" MYPREFIX="$PREFIX" # comment out for userdb only if [ ".$MYPREFIX" != "." ]; then MYLIB="$MYPREFIX/lib/mysql" MYINC="$MYPREFIX/include/mysql" export CPPFLAGS="$CPPFLAGS -I$MYINC" export LDFLAGS="$LDFLAGS -L$MYLIB -lmysqlclient" export LD_LIBRARY_PATH="$LD_LIBRARY_PATH $MYLIB" CONFIG_ARGS="--with-mysql-libs=$MYLIB --with-mysql-includes=$MYINC" CONFIG_MODULES="--with-authdaemon --with-authmysql" else CONFIG_MODULES="--without-authdaemon --without-authmysql" fi and dont forget to append $CONFIG_ARGS and $CONFIG_MODULES to ./configure. Roland _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users