I'm running a debian box, and trying to compile beta7, but getting the error below. Any suggestions on what I'm missing would be greatly appreciated.
End of output from Make:
...
gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o
dovecot-auth auth.o auth-cache.o auth-client-connection.o
auth-master-connection.o auth-master-listener.o auth-module.o auth-request.o
auth-request-handler.o auth-stream.o auth-worker-client.o
auth-worker-server.o db-ldap.o db-sql.o db-passwd-file.o main.o mech.o
mech-anonymous.o mech-plain.o mech-login.o mech-cram-md5.o mech-digest-md5.o
mech-ntlm.o mech-gssapi.o mech-rpa.o mech-apop.o passdb.o passdb-blocking.o
passdb-bsdauth.o passdb-cache.o passdb-ldap.o passdb-passwd.o
passdb-passwd-file.o passdb-pam.o passdb-checkpassword.o passdb-shadow.o
passdb-vpopmail.o passdb-sql.o userdb.o userdb-blocking.o userdb-ldap.o
userdb-passwd.o userdb-passwd-file.o userdb-prefetch.o userdb-static.o
userdb-vpopmail.o userdb-sql.o -Wl,--export-dynamic libpassword.a
../lib-settings/libsettings.a ../lib-ntlm/libntlm.a ../lib-sql/libsql.a
../lib/liblib.a -lcrypt -L/usr/local/mysql/lib -lmysqlclient -lz -lm -ldl
/usr/local/mysql/lib/libmysqlclient.a(sha1.o)(.text+0x5c): In function
sha1_result': : multiple definition of
sha1_result'
../lib/liblib.a(sha1.o)(.text+0x7f4):/root/dovecot-1.0.beta7/src/lib/sha1.c:
233: first defined here
/usr/bin/ld: Warning: size of symbol sha1_result' changed from 158 in ../lib/liblib.a(sha1.o) to 126 in ../lib/liblib.a(sha1.o) collect2: ld returned 1 exit status make[3]: *** [dovecot-auth] Error 1 make[3]: Leaving directory
/root/dovecot-1.0.beta7/src/auth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /root/dovecot-1.0.beta7/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/root/dovecot-1.0.beta7'
make: *** [all] Error 2