On Mar 18, 2004, at 3:52 PM, Mikael wrote:
have anyone successfully built vpopmail with the binaries that
mysql provide?

Try this patch and report back. If it solves your problem, then I'll add it to the next release. (If you're not comfortable using patch, it will be easy to modify those files by hand. Do configure.in first, then configure. Just search for mysqlclient and add the " -lm" to the auth_libs list.)


Index: configure.in
===================================================================
RCS file: /cvsroot/vpopmail/vpopmail/configure.in,v
retrieving revision 1.26.2.2
diff -u -r1.26.2.2 configure.in
--- configure.in 4 Mar 2004 05:16:25 -0000 1.26.2.2
+++ configure.in 18 Mar 2004 23:01:29 -0000
@@ -950,7 +950,7 @@
AC_MSG_ERROR([Unable to find your MySQL lib dir, specify --enable-libdir.])
fi


-    auth_libs="-L$libdir $extralibflags -lmysqlclient -lz"
+    auth_libs="-L$libdir $extralibflags -lmysqlclient -lz -lm"
     AC_SUBST(auth_libs)
     ;;

Index: configure
===================================================================
RCS file: /cvsroot/vpopmail/vpopmail/configure,v
retrieving revision 1.28.2.2
diff -u -r1.28.2.2 configure
--- configure   4 Mar 2004 05:16:25 -0000       1.28.2.2
+++ configure   18 Mar 2004 23:01:30 -0000
@@ -5905,7 +5905,7 @@
    { (exit 1); exit 1; }; }
     fi

-    auth_libs="-L$libdir $extralibflags -lmysqlclient -lz"
+    auth_libs="-L$libdir $extralibflags -lmysqlclient -lz -lm"

;;


-- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Reply via email to