19 Dec
2005
19 Dec
'05
5:16 p.m.
Jakob Hirsch wrote:
Tom Sommer wrote:
/usr/local/mysql/lib/libmysqlclient.a(sha1.o)(.text+0x50): In function
sha1_result': : multiple definition of
sha1_result' ../lib/liblib.a(sha1.o)(.text+0x820):/usr/local/src/dovecot-1.0.alpha5/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 316 in /usr/local/mysql/lib/libmysqlclient.a(sha1.o) collect2: ld returned 1 exit statusDovecot's sha1_result function collides with mysql's. You could try renaming all occurences of sha1_result in Dovecot's source files with something else (like dovecot_sh1a_result).
I'd rather see it fixed in the official dovecot distribution, but thanks for the hint :)
// Tom