[Dovecot] Dovecot 1.2.16 compiling error
Mart Pirita
sysadmin at e-positive.ee
Fri Dec 3 17:55:53 EET 2010
Timo Sirainen kirjutas:
>
> I wonder if this is the reason for all your trouble.. Are there some old OpenSSL versions still installed? Maybe it's mixing headers of old OpenSSL with libs of new, or vice versa.
>
I did some tests, dovecot 1.2.15 compiles fine withh latest OpenSSL, but
doesn't allow login at all:
Dec 3 12:29:08 tibu dovecot: child 13821 (login) killed with signal 11
(core dumps disabled) (ip=195.50.217.142)
Dec 3 12:29:09 tibu dovecot: child 13820 (login) killed with signal 11
(core dumps disabled) (ip=195.50.217.142)
Dec 3 12:29:11 tibu dovecot: child 13826 (login) killed with signal 11
(core dumps disabled) (ip=195.50.217.142)
And gives segfaults:
Dec 3 12:29:08 tibu kernel: imap-login[13821]: segfault at 00000044 eip
08074f9c esp bf9c7390 error 4
Dec 3 12:29:09 tibu kernel: imap-login[13820]: segfault at 00000044 eip
08074f9c esp bf8f72c0 error 4
Dec 3 12:29:11 tibu kernel: imap-login[13826]: segfault at 00000044 eip
08074f9c esp bfa2d3f0 error 4
The last good OpenSSL is openssl-0.9.8l.tar.gz , 1.2.15 compiles and
runs fine, however 1.2.16 compiling still fails:
/usr/src/redhat/BUILD/dovecot-1.2.16/src/login-common/ssl-proxy-openssl.c:950:
undefined reference to `OpenSSL_add_all_algorithms'
collect2: ld returned 1 exit status
Disabling the line 950, allows build it and it also runs fine.
So clearly something is done in 1.2.16 code, moreover, what is done in
dovecot code, that at least in my case when using any newer than
openssl-0.9.8l.tar.gz, builds fine, but gives segfaults when running it?
--
Mart
More information about the dovecot
mailing list