When trying to build dovecot with MySQL support I got the following:
/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+0x880):/root/dovecot-1.0.alpha3/src/lib/sha1.c:233:
first defined here
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld:
Warning: size of symbol sha1_result' changed from 158 in ../lib/liblib.a(sha1.o) to 126 in /usr/local/mysql/lib/libmysqlclient.a(sha1.o) collect2: ld returned 1 exit status make[3]: *** [dovecot-auth] Error 1 make[3]: Leaving directory
/root/dovecot-1.0.alpha3/src/auth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /root/dovecot-1.0.alpha3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/root/dovecot-1.0.alpha3'
make: *** [all] Error 2
Any thoughts?
Regards,
Savage