On Apr 25, 2017, at 4:30 PM, Peter van der Does peter@avirtualhome.com wrote:
The problem with making the Dovecot check for libmysqlclient.so.20 would be that you have have to make sure older/newer packages are also supported. The 20 extension is subject to changes.
If I check the Oracle DEB file for Debian 9, it seems they do use the name libmysqlclient.so, so not sure what to make of it. Double check to make sure you really installed the file libmysqlclient-dev_5.7.18-1debian9_amd64.deb from the Oracle repo.
If you still have problems I might setup a Docker file with Debian 9 later tonight to check myself.
I’ve attached a Dockerfile that reproduces the issue and might save you a little time.
Also, I spotted a deprecation warning that you might want to look into since it has to do with building against OpenSSL 1.1 (which is the default version for Debian 9).
Kevin