Hi, I try to compile dovecot -2.2.24 on Fedora 31 and get the following error: iostream-openssl.c: In function ?openssl_iostream_verify_client_cert?: iostream-openssl.c:118:37: error: dereferencing pointer to incomplete type ?X509_STORE_CTX? {aka ?struct x509_store_ctx_st?} 118 | subject = X509_get_subject_name(ctx->current_cert); | ^~ make[3]: *** [Makefile:561: iostream-openssl.lo] Error 1 All openssl packages installed. What's the reason and how solve the problem? Kind regards, Frank Elsner
> On 11/11/2019 17:22 Frank Elsner via dovecot <dovecot at dovecot.org> wrote: > > > Hi, > > I try to compile dovecot -2.2.24 on Fedora 31 and get the following error: > > iostream-openssl.c: In function ?openssl_iostream_verify_client_cert?: > iostream-openssl.c:118:37: error: dereferencing pointer to incomplete type ?X509_STORE_CTX? {aka ?struct x509_store_ctx_st?} > 118 | subject = X509_get_subject_name(ctx->current_cert); > | ^~ > make[3]: *** [Makefile:561: iostream-openssl.lo] Error 1 > > All openssl packages installed. What's the reason and how solve the problem? > > Kind regards, > Frank ElsnerIs there some reason you want to use ancient dovecot? You should use 2.2.36 at least. Aki
On Mon, 11 Nov 2019 17:30:37 +0200 (EET) Aki Tuomi via dovecot wrote: [ ... ]> Is there some reason you want to use ancient dovecot? You should use 2.2.36 at least.Migration from 32bit to 64bit. I want to avoid problems, so I used the version I have compiled and used on the 32bit system. --Frank
On Mon, 11 Nov 2019 17:30:37 +0200 (EET) Aki Tuomi via dovecot wrote: [ ... ]> Is there some reason you want to use ancient dovecot? You should use 2.2.36 at least.I got dovecot-2.2.36.4 compiled but at start the log shows dovecot[342614]: master: Dovecot v2.2.36.4 (baf9232c1) starting up for imap dovecot[342617]: ssl-params: Generating SSL parameters dovecot[342614]: master: Error: service(auth): command startup failed, throttling for 2 secs dovecot[342617]: auth: Fatal: master: service(auth): child 342623 killed with signal 11 (core dumped) dovecot[342614]: master: Error: service(auth): command startup failed, throttling for 4 secs The configuration files are from dovecot-2.2.24 whre they worked perfect. What to do to get it working? conf.d PS: I can provide dovecot.conf and conf.d/10-auth.conf if necessary. --Frank