libdriver_msql.so

kaniggl kaniggl at gmail.com
Wed Mar 11 14:37:48 UTC 2015


Hello,

i installed dovecot 2.11.1 on ubuntu
Linux dadd3041 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:07:11 UTC
2015 ppc64le ppc64le ppc64le GNU/Linux

To make it clear, architecture is PowerPC 64bit
Then i installed dovecot via apt-get. But the file
/usr/lib/dovecot/modules/auth/libdriver_mysql.so
is missing.

So i compiled dovecot myself on this system and got a file
/usr/lib/dovecot/modules/auth/libdriver_mysql.so

Then i restartetd the server and try to do a login via a webmailer
(roundcube), but i get no connection to the database server.

This is found in /var/log/mail.log
Mar 11 15:19:04 dadd3041 dovecot: master: Dovecot v2.2.9 starting up (core
dumps disabled)
Mar 11 15:19:04 dadd3041 postfix/master[3367]: reload -- version 2.11.1,
configuration /etc/postfix
Mar 11 15:19:04 dadd3041 postfix/master[3367]: terminating on signal 15
Mar 11 15:19:04 dadd3041 postfix/master[3597]: daemon started -- version
2.11.1, configuration /etc/postfix
Mar 11 15:19:25 dadd3041 dovecot: auth: Error:
dlopen(/usr/lib/dovecot/modules/auth/libdriver_mysql.so) failed:
/usr/lib/dovecot/modules/auth/libdriver_mysql.so: wrong ELF class:
ELFCLASS32
Mar 11 15:19:25 dadd3041 dovecot: auth: Fatal: Unknown database driver
'mysql'
Mar 11 15:19:25 dadd3041 dovecot: master: Error: service(auth): command
startup failed, throttling for 2 secs
Mar 11 15:19:25 dadd3041 dovecot: imap-login: Disconnected: Auth process
broken (disconnected before auth was ready, waited 0 secs): user=<>,
rip=::1, lip=::1, TLS handshaking,
session=<rJpS9AMR9wAAAAAAAAAAAAAAAAAAAAAB>

I know this means it is not a 64bit object but how could i achieve to get
right one?

best regards,
kaniggl


More information about the dovecot mailing list