I?m using Homebrew to install Dovecot on Mojave, but have to modify the formula to add ?--with-mysql?. Unfortunately compiling always fails with: checking for mysql_config... NO checking for mysql_init in -lmysqlclient... no configure: error: Can't build with MySQL support: libmysqlclient not found I added: ENV['LD']="-L/usr/local/opt/mysql at 5.7/lib" to the ?def install? section of the formula, but it still fails. config.log shows: ? KRB5_LIBS='' LD='-L/usr/local/opt/mysql at 5.7/lib/' LDAP_LIBS=?' ? And mysqlclient is here: $ locate mysqlclient /usr/local/Cellar/mysql at 5.7/5.7.24/lib/libmysqlclient.20.dylib /usr/local/Cellar/mysql at 5.7/5.7.24/lib/libmysqlclient.a /usr/local/Cellar/mysql at 5.7/5.7.24/lib/libmysqlclient.dylib /usr/local/Cellar/mysql at 5.7/5.7.24/lib/pkgconfig/mysqlclient.pc I changed the formula to: ENV['LD']="-L/usr/local/Cellar/mysql at 5.7/5.7.24/lib/? And still get the same thing. Any suggestions? Thanks, James. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20181125/f4a26523/attachment.html>