On 15 January 2019 at 22:50 Larry Rosenman < larry...@gmail.com> wrote:
config.log at:
On Tue, Jan 15, 2019 at 2:40 PM Aki Tuomi < aki.tu...@open-xchange.com>wrote:
Any way you could check config.log ?AkiOn 15 January 2019 at 22:32 Larry Rosenman < larry...@gmail.com> wrote:>Not sure what ELSE could be causing this failure. Full build logs are atthe home.lerctr.org:8888 link.>On Tue, Jan 15, 2019 at 2:30 PM Aki Tuomi < aki.tu...@open-xchange.com>wrote:https://dev.mysql.com/doc/refman/8.0/en/mysql-init.html does not supportintentional removal of mysql_initAkiOn 15 January 2019 at 22:28 Aki Tuomi < aki.tu...@open-xchange.com>wrote:I tried earlier today using latest version offered in Oracle repos for8.0, and was able to compile dovecot. I can revisit the issue though.AkiOn 15 January 2019 at 22:02 Larry Rosenman < larry...@gmail.com> wrote:It appears the issue is MySQL 8.0.13 apparently(?) removed the mysql_initsymbol.poudriere logs:the first build is 8.0.12, the 2nd is 8.0.13.Can the dovecot guys look as well? I've sent a note to the MySQLmaintainer for FreeBSD as well.Thanks.On Tue, Jan 15, 2019 at 1:15 AM Odhiambo Washington < odhia...@gmail.com>wrote:On Tue, 15 Jan 2019 at 04:57, Larry Rosenman < larry...@gmail.com>wrote:I got a complaint from a FreeBSD user that they couldn't compiledovecotagainst MySQL 8.0.Is MySQL 8.0 support with 2.3.4?>> they receive:>> checking for mysql_init in -lmysqlclient... no>> configure: error: Can't build with MySQL support: libmysqlclient not>> found ===> Script "configure" failed unexpectedly.>> Please report the problem to l...@freebsd.org [maintainer] and attachthe>> "/wrkdirs/usr/ports/mail/dovecot/work/dovecot-2.3.4/config.log">> including the output of the failure of your make command. Also, it>> might be a good idea to provide an overview of all packages installed>> on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea).>> *** Error code 1>>>> thanks!>>>I recently installed FreeBSD-12 and installed MySQL-8.0 and builddovecot-2.3.4 against it.Well, I tried to do ldd /usr/local/sbin/dovecot to see what it's buildagainst, but it shows differentoutput than what I see when I do the same against my Exim. Maybe it's agcc vs clang issue, butroot@gw:/usr/home/wash # uname -msrsvFreeBSD 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64root@gw:/usr/home/wash # mysql --versionmysql Ver 8.0.12 for FreeBSD12.0 on amd64 (Source distribution)root@gw:/usr/home/wash # strings /usr/local/sbin/dovecot | grep SQLSQL drivers: mysql postgresql sqliteIn the output you've given, let's just say the issue is that there isno libmysqlclient.so.21 in the standard INCLUDE path..I have just extracted dovecot-2.3.4 into a directory and did:./configure --with-mysql=yesThe output is:-----------8<------------checking for mysql_config... mysql_configchecking for mysql_init in -lmysqlclient... yeschecking mysql.h usability... yeschecking mysql.h presence... yeschecking for mysql.h... yeschecking for mysql_ssl_set in -lmysqlclient... yes----------8<--------------Install prefix . : /usr/localFile offsets ... : 64bitI/O polling .... : kqueueI/O notifys .... : kqueueSSL ............ : yes (OpenSSL)GSSAPI ......... : nopassdbs ........ : static passwd passwd-file pam checkpassword sqlCFLAGS ......... : -std=gnu99 -g -O2 -fstack-protector-strong-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2-Wbad-function-cast -Wno-duplicate-decl-specifier -Wstrict-aliasing=2: -shadow -bsdauth -sia -ldap -vpopmailuserdbs ........ : static prefetch passwd passwd-file checkpassword sql: -ldap -vpopmail*SQL drivers .... : mysql*: -pgsql -sqlite -cassandraFull text search : squat: -lucene -solrSo, yes, it's supported!--Best regards,Odhiambo WASHINGTON,Nairobi,KE+254 7 3200 0004/+254 7 2274 3223"Oh, the cruft.", grep ^[^#] :-)--Larry Rosenman http://www.lerctr.org/~lerPhone: +1 214-642-9640 (c) E-Mail: larry...@gmail.comUS Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106---Aki Tuomi---Aki Tuomi>>--Larry Rosenman http://www.lerctr.org/~lerPhone: +1 214-642-9640 (c) E-Mail: larry...@gmail.comUS Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106>---Aki Tuomi
--Larry Rosenman http://www.lerctr.org/~lerPhone: +1 214-642-9640 (c) E-Mail: larry...@gmail.comUS Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106
---
Aki Tuomi
Aki Tuomi