> On 16 Jan 2019, at 5:48 pm, Daniël van Eeden <daniel.van.ee...@myname.nl > <mailto:daniel.van.ee...@myname.nl>> wrote: > > The --libs part of that looks wrong. > I would expect something like "... -lmysqlclient -lssl -lcrypto”, not a -l > without library name. > Not sure why that might be.
Thanks Daniël. To compile Dovecot to link against MySQL I had to use: export CPPFLAGS="-I/usr/local/opt/mysql@5.7/include/mysql -I/usr/local/Cellar/openssl@1.1/1.1.1/include" export LDFLAGS="-L/usr/local/opt/mysql@5.7/lib -L/usr/local/opt/openssl@1.1/lib" ./configure --with-mysql --with-ssl=openssl Would I have to do something like that? Looking at the archives, it looks like Rajeev Jain has same or similar issue on the previous version of macOS (you replied 8 hours ago). Thanks, James.