Installing on Mojave, with Homebrew and mysql
jlbrown at bordo.com.au
Sun Nov 25 14:43:03 EET 2018
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
ENV['LD']="-L/usr/local/opt/mysql at 5.7/lib"
to the ‘def install’ section of the formula, but it still fails.
LD='-L/usr/local/opt/mysql at 5.7/lib/'
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dovecot