On Apr 6, 2004, at 8:09 PM, Jasmine wrote:
/var/source/mysql/lib/libmysqlclient.a(password.o): In function
`check_scramble':
password.o(.text+0x3f6): undefined reference to `floor'
password.o(.text+0x488): undefined reference to `floor'

Here's the patch from the unreleased 5.4.4. If word-wrapping makes it hard to install the patch, just search configure.in for "-lmysqlclient -lz" and add " -lm" to the end of that string.


--- configure.in 4 Mar 2004 05:16:25 -0000 1.26.2.2
+++ configure.in 18 Mar 2004 23:04:51 -0000 1.26.2.4
@@ -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)
     ;;


-- 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