<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> Any way you could check config.log ? </div> <div> <br> </div> <div> Aki </div> <blockquote type="cite"> <div> On 15 January 2019 at 22:32 Larry Rosenman < <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> Not sure what ELSE could be causing this failure. Full build logs are at </div> <div> the home.lerctr.org:8888 link. </div> <div> <br> </div> <div> <br> </div> <div> On Tue, Jan 15, 2019 at 2:30 PM Aki Tuomi < <a href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a>> </div> <div> wrote: </div> <div> <br> </div> <blockquote type="cite"> <div> <a href="https://dev.mysql.com/doc/refman/8.0/en/mysql-init.html" rel="noopener" target="_blank">https://dev.mysql.com/doc/refman/8.0/en/mysql-init.html</a> does not support </div> <div> intentional removal of mysql_init </div> </blockquote> <blockquote type="cite"> <div> Aki </div> </blockquote> <blockquote type="cite"> <div> On 15 January 2019 at 22:28 Aki Tuomi < <a href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a>> </div> <div> wrote: </div> </blockquote> <div> > </div> <blockquote type="cite"> <div> I tried earlier today using latest version offered in Oracle repos for </div> <div> 8.0, and was able to compile dovecot. I can revisit the issue though. </div> </blockquote> <blockquote type="cite"> <div> Aki </div> </blockquote> <blockquote type="cite"> <div> On 15 January 2019 at 22:02 Larry Rosenman < <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a>> wrote: </div> </blockquote> <div> > </div> <blockquote type="cite"> <div> It appears the issue is MySQL 8.0.13 apparently(?) removed the mysql_init </div> <div> symbol. </div> </blockquote> <blockquote type="cite"> <div> poudriere logs: </div> <div> <a href="http://home.lerctr.org:8888/jail.html?mastername=p120amd64-host-ports" rel="noopener" target="_blank">http://home.lerctr.org:8888/jail.html?mastername=p120amd64-host-ports</a> </div> </blockquote> <blockquote type="cite"> <div> the first build is 8.0.12, the 2nd is 8.0.13. </div> </blockquote> <blockquote type="cite"> <div> Can the dovecot guys look as well? I've sent a note to the MySQL </div> <div> maintainer for FreeBSD as well. </div> </blockquote> <blockquote type="cite"> <div> Thanks. </div> </blockquote> <blockquote type="cite"> <div> On Tue, Jan 15, 2019 at 1:15 AM Odhiambo Washington < <a href="mailto:odhiambo@gmail.com">odhiambo@gmail.com</a>> </div> <div> wrote: </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"></blockquote> <div> > </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"> <blockquote type="cite"> <div> On Tue, 15 Jan 2019 at 04:57, Larry Rosenman < <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a>> </div> </blockquote> </blockquote> <div> wrote: </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"> <blockquote type="cite"> <blockquote type="cite"> <div> I got a complaint from a FreeBSD user that they couldn't compile </div> </blockquote> </blockquote> </blockquote> <div> dovecot </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"> <blockquote type="cite"> <div> against MySQL 8.0. </div> </blockquote> </blockquote> <div> >> Is MySQL 8.0 support with 2.3.4? </div> <div> >> </div> <div> >> they receive: </div> <div> >> checking for mysql_init in -lmysqlclient... no </div> <div> >> configure: error: Can't build with MySQL support: libmysqlclient not </div> <div> >> found ===> Script "configure" failed unexpectedly. </div> <div> >> Please report the problem to <a href="mailto:ler@FreeBSD.org">ler@FreeBSD.org</a> [maintainer] and attach </div> <div> the </div> <div> >> "/wrkdirs/usr/ports/mail/dovecot/work/dovecot-2.3.4/config.log" </div> <div> >> including the output of the failure of your make command. Also, it </div> <div> >> might be a good idea to provide an overview of all packages installed </div> <div> >> on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). </div> <div> >> *** Error code 1 </div> <div> >> </div> <div> >> thanks! </div> <div> >> </div> <div> > </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"> <blockquote type="cite"> <div> I recently installed FreeBSD-12 and installed MySQL-8.0 and build </div> </blockquote> </blockquote> </blockquote> <blockquote type="cite"> <div> dovecot-2.3.4 against it. </div> <div> Well, I tried to do ldd /usr/local/sbin/dovecot to see what it's build </div> <div> against, but it shows different </div> <div> output than what I see when I do the same against my Exim. Maybe it's a </div> <div> gcc vs clang issue, but </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"></blockquote> </blockquote> <blockquote type="cite"> <blockquote type="cite"> <blockquote type="cite"> <div> root@gw:/usr/home/wash # uname -msrsv </div> </blockquote> </blockquote> </blockquote> <blockquote type="cite"> <div> FreeBSD 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64 </div> <div> root@gw:/usr/home/wash # mysql --version </div> <div> mysql Ver 8.0.12 for FreeBSD12.0 on amd64 (Source distribution) </div> <div> root@gw:/usr/home/wash # strings /usr/local/sbin/dovecot | grep SQL </div> <div> SQL drivers: mysql postgresql sqlite </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"></blockquote> </blockquote> <blockquote type="cite"> <blockquote type="cite"> <blockquote type="cite"> <div> In the output you've given, let's just say the issue is that there is </div> </blockquote> </blockquote> </blockquote> <blockquote type="cite"> <div> no libmysqlclient.so.21 in the standard INCLUDE path.. </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"></blockquote> </blockquote> <blockquote type="cite"> <blockquote type="cite"> <blockquote type="cite"> <div> I have just extracted dovecot-2.3.4 into a directory and did: </div> </blockquote> </blockquote> </blockquote> <blockquote type="cite"> <div> ./configure --with-mysql=yes </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"></blockquote> </blockquote> <blockquote type="cite"> <blockquote type="cite"> <blockquote type="cite"> <div> The output is: </div> </blockquote> </blockquote> </blockquote> <blockquote type="cite"> <blockquote type="cite"></blockquote> </blockquote> <blockquote type="cite"> <blockquote type="cite"> <blockquote type="cite"> <div> -----------8<------------ </div> </blockquote> </blockquote> </blockquote> <blockquote type="cite"> <div> checking for mysql_config... mysql_config </div> <div> checking for mysql_init in -lmysqlclient... yes </div> <div> checking mysql.h usability... yes </div> <div> checking mysql.h presence... yes </div> <div> checking for mysql.h... yes </div> <div> checking for mysql_ssl_set in -lmysqlclient... yes </div> <div> ----------8<-------------- </div> <div> Install prefix . : /usr/local </div> <div> File offsets ... : 64bit </div> <div> I/O polling .... : kqueue </div> <div> I/O notifys .... : kqueue </div> <div> SSL ............ : yes (OpenSSL) </div> <div> GSSAPI ......... : no </div> <div> passdbs ........ : static passwd passwd-file pam checkpassword sql </div> <div> CFLAGS ......... : -std=gnu99 -g -O2 -fstack-protector-strong </div> <div> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes </div> <div> -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 </div> <div> -Wbad-function-cast -Wno-duplicate-decl-specifier -Wstrict-aliasing=2 </div> <div> : -shadow -bsdauth -sia -ldap -vpopmail </div> <div> userdbs ........ : static prefetch passwd passwd-file checkpassword sql </div> <div> : -ldap -vpopmail </div> <div> *SQL drivers .... : mysql* </div> <div> : -pgsql -sqlite -cassandra </div> <div> Full text search : squat </div> <div> : -lucene -solr </div> <div> <a href="mailto:root@gw:/usr/local/SRC/dovecot-2.3.4">root@gw:/usr/local/SRC/dovecot-2.3.4</a> # </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"> <blockquote type="cite"></blockquote> </blockquote> </blockquote> <blockquote type="cite"> <blockquote type="cite"> <blockquote type="cite"> <div> So, yes, it's supported! </div> </blockquote> </blockquote> </blockquote> <blockquote type="cite"> <blockquote type="cite"> <blockquote type="cite"></blockquote> </blockquote> </blockquote> <blockquote type="cite"> <blockquote type="cite"> <blockquote type="cite"> <div> -- </div> </blockquote> </blockquote> </blockquote> <blockquote type="cite"> <div> Best regards, </div> <div> Odhiambo WASHINGTON, </div> <div> Nairobi,KE </div> <div> +254 7 3200 0004/+254 7 2274 3223 </div> <div> "Oh, the cruft.", grep ^[^#] :-) </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"></blockquote> </blockquote> <blockquote type="cite"> <div> -- </div> <div> Larry Rosenman <a href="http://www.lerctr.org/~ler" rel="noopener" target="_blank">http://www.lerctr.org/~ler</a> </div> <div> Phone: +1 214-642-9640 (c) E-Mail: <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a> </div> <div> US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 </div> </blockquote> <blockquote type="cite"> <div> --- </div> <div> Aki Tuomi </div> </blockquote> <div> > </div> <blockquote type="cite"> <div> --- </div> <div> Aki Tuomi </div> </blockquote> <div> <br> </div> <div> <br> </div> <div> -- </div> <div> Larry Rosenman <a href="http://www.lerctr.org/~ler" rel="noopener" target="_blank">http://www.lerctr.org/~ler</a> </div> <div> Phone: +1 214-642-9640 (c) E-Mail: <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a> </div> <div> US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 </div> </blockquote> <div> <br> </div> <div class="io-ox-signature"> --- <br>Aki Tuomi </div> </body> </html>
config.log at: https://www.lerctr.org/~ler/dovecot/config.log On Tue, Jan 15, 2019 at 2:40 PM Aki Tuomi <aki.tuomi at open-xchange.com> wrote:> Any way you could check config.log ? > > Aki > > On 15 January 2019 at 22:32 Larry Rosenman < larryrtx at gmail.com> wrote: > > > Not sure what ELSE could be causing this failure. Full build logs are at > the home.lerctr.org:8888 link. > > > On Tue, Jan 15, 2019 at 2:30 PM Aki Tuomi < aki.tuomi at open-xchange.com> > wrote: > > https://dev.mysql.com/doc/refman/8.0/en/mysql-init.html does not support > intentional removal of mysql_init > > Aki > > On 15 January 2019 at 22:28 Aki Tuomi < aki.tuomi at open-xchange.com> > wrote: > > > > > I tried earlier today using latest version offered in Oracle repos for > 8.0, and was able to compile dovecot. I can revisit the issue though. > > Aki > > On 15 January 2019 at 22:02 Larry Rosenman < larryrtx at gmail.com> wrote: > > > > > It appears the issue is MySQL 8.0.13 apparently(?) removed the mysql_init > symbol. > > poudriere logs: > http://home.lerctr.org:8888/jail.html?mastername=p120amd64-host-ports > > 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 MySQL > maintainer for FreeBSD as well. > > Thanks. > > On Tue, Jan 15, 2019 at 1:15 AM Odhiambo Washington < odhiambo at gmail.com> > wrote: > > > > > On Tue, 15 Jan 2019 at 04:57, Larry Rosenman < larryrtx at gmail.com> > > wrote: > > I got a complaint from a FreeBSD user that they couldn't compile > > dovecot > > against 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 ler at FreeBSD.org [maintainer] and attach > the > >> "/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 build > > dovecot-2.3.4 against it. > Well, I tried to do ldd /usr/local/sbin/dovecot to see what it's build > against, but it shows different > output than what I see when I do the same against my Exim. Maybe it's a > gcc vs clang issue, but > > root at gw:/usr/home/wash # uname -msrsv > > FreeBSD 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64 > root at gw:/usr/home/wash # mysql --version > mysql Ver 8.0.12 for FreeBSD12.0 on amd64 (Source distribution) > root at gw:/usr/home/wash # strings /usr/local/sbin/dovecot | grep SQL > SQL drivers: mysql postgresql sqlite > > In the output you've given, let's just say the issue is that there is > > no libmysqlclient.so.21 in the standard INCLUDE path.. > > I have just extracted dovecot-2.3.4 into a directory and did: > > ./configure --with-mysql=yes > > The output is: > > -----------8<------------ > > checking for mysql_config... mysql_config > checking for mysql_init in -lmysqlclient... yes > checking mysql.h usability... yes > checking mysql.h presence... yes > checking for mysql.h... yes > checking for mysql_ssl_set in -lmysqlclient... yes > ----------8<-------------- > Install prefix . : /usr/local > File offsets ... : 64bit > I/O polling .... : kqueue > I/O notifys .... : kqueue > SSL ............ : yes (OpenSSL) > GSSAPI ......... : no > passdbs ........ : static passwd passwd-file pam checkpassword sql > CFLAGS ......... : -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 -vpopmail > userdbs ........ : static prefetch passwd passwd-file checkpassword sql > : -ldap -vpopmail > *SQL drivers .... : mysql* > : -pgsql -sqlite -cassandra > Full text search : squat > : -lucene -solr > root at gw:/usr/local/SRC/dovecot-2.3.4 # > > So, 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/~ler > Phone: +1 214-642-9640 (c) E-Mail: larryrtx at gmail.com > US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 > > --- > Aki Tuomi > > > > > --- > Aki Tuomi > > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 (c) E-Mail: larryrtx at gmail.com > US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 > > > --- > Aki Tuomi >-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: larryrtx at gmail.com US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190115/c5329d00/attachment-0001.html>
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> <br> </div> <blockquote type="cite"> <div> On 15 January 2019 at 22:50 Larry Rosenman < <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> config.log at: </div> <div> <a href="https://www.lerctr.org/~ler/dovecot/config.log" rel="noopener" target="_blank">https://www.lerctr.org/~ler/dovecot/config.log</a> </div> <div> <br> </div> <div> <br> </div> <div> <br> </div> <div> On Tue, Jan 15, 2019 at 2:40 PM Aki Tuomi < <a href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a>> </div> <div> wrote: </div> <div> <br> </div> <blockquote type="cite"> <div> Any way you could check config.log ? </div> </blockquote> <blockquote type="cite"> <div> Aki </div> </blockquote> <blockquote type="cite"> <div> On 15 January 2019 at 22:32 Larry Rosenman < <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a>> wrote: </div> </blockquote> <div> > </div> <blockquote type="cite"> <div> Not sure what ELSE could be causing this failure. Full build logs are at </div> <div> the home.lerctr.org:8888 link. </div> </blockquote> <div> > </div> <blockquote type="cite"> <div> On Tue, Jan 15, 2019 at 2:30 PM Aki Tuomi < <a href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a>> </div> <div> wrote: </div> </blockquote> <blockquote type="cite"> <div> <a href="https://dev.mysql.com/doc/refman/8.0/en/mysql-init.html" rel="noopener" target="_blank">https://dev.mysql.com/doc/refman/8.0/en/mysql-init.html</a> does not support </div> <div> intentional removal of mysql_init </div> </blockquote> <blockquote type="cite"> <div> Aki </div> </blockquote> <blockquote type="cite"> <div> On 15 January 2019 at 22:28 Aki Tuomi < <a href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a>> </div> <div> wrote: </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"></blockquote> </blockquote> <blockquote type="cite"> <div> I tried earlier today using latest version offered in Oracle repos for </div> <div> 8.0, and was able to compile dovecot. I can revisit the issue though. </div> </blockquote> <blockquote type="cite"> <div> Aki </div> </blockquote> <blockquote type="cite"> <div> On 15 January 2019 at 22:02 Larry Rosenman < <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a>> wrote: </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"></blockquote> </blockquote> <blockquote type="cite"> <div> It appears the issue is MySQL 8.0.13 apparently(?) removed the mysql_init </div> <div> symbol. </div> </blockquote> <blockquote type="cite"> <div> poudriere logs: </div> <div> <a href="http://home.lerctr.org:8888/jail.html?mastername=p120amd64-host-ports" rel="noopener" target="_blank">http://home.lerctr.org:8888/jail.html?mastername=p120amd64-host-ports</a> </div> </blockquote> <blockquote type="cite"> <div> the first build is 8.0.12, the 2nd is 8.0.13. </div> </blockquote> <blockquote type="cite"> <div> Can the dovecot guys look as well? I've sent a note to the MySQL </div> <div> maintainer for FreeBSD as well. </div> </blockquote> <blockquote type="cite"> <div> Thanks. </div> </blockquote> <blockquote type="cite"> <div> On Tue, Jan 15, 2019 at 1:15 AM Odhiambo Washington < <a href="mailto:odhiambo@gmail.com">odhiambo@gmail.com</a>> </div> <div> wrote: </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"></blockquote> </blockquote> <blockquote type="cite"> <div> On Tue, 15 Jan 2019 at 04:57, Larry Rosenman < <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a>> </div> </blockquote> <blockquote type="cite"> <div> wrote: </div> </blockquote> <blockquote type="cite"> <div> I got a complaint from a FreeBSD user that they couldn't compile </div> </blockquote> <blockquote type="cite"> <div> dovecot </div> </blockquote> <blockquote type="cite"> <div> against MySQL 8.0. </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"> <blockquote type="cite"> <div> Is MySQL 8.0 support with 2.3.4? </div> </blockquote> </blockquote> <div> >> they receive: </div> <div> >> checking for mysql_init in -lmysqlclient... no </div> <div> >> configure: error: Can't build with MySQL support: libmysqlclient not </div> <div> >> found ===> Script "configure" failed unexpectedly. </div> <div> >> Please report the problem to <a href="mailto:ler@FreeBSD.org">ler@FreeBSD.org</a> [maintainer] and attach </div> <div> the </div> <div> >> "/wrkdirs/usr/ports/mail/dovecot/work/dovecot-2.3.4/config.log" </div> <div> >> including the output of the failure of your make command. Also, it </div> <div> >> might be a good idea to provide an overview of all packages installed </div> <div> >> on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). </div> <div> >> *** Error code 1 </div> <div> >> </div> <div> >> thanks! </div> <div> >> </div> <div> > </div> </blockquote> <blockquote type="cite"> <div> I recently installed FreeBSD-12 and installed MySQL-8.0 and build </div> </blockquote> <blockquote type="cite"> <div> dovecot-2.3.4 against it. </div> <div> Well, I tried to do ldd /usr/local/sbin/dovecot to see what it's build </div> <div> against, but it shows different </div> <div> output than what I see when I do the same against my Exim. Maybe it's a </div> <div> gcc vs clang issue, but </div> </blockquote> <blockquote type="cite"> <div> root@gw:/usr/home/wash # uname -msrsv </div> </blockquote> <blockquote type="cite"> <div> FreeBSD 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64 </div> <div> root@gw:/usr/home/wash # mysql --version </div> <div> mysql Ver 8.0.12 for FreeBSD12.0 on amd64 (Source distribution) </div> <div> root@gw:/usr/home/wash # strings /usr/local/sbin/dovecot | grep SQL </div> <div> SQL drivers: mysql postgresql sqlite </div> </blockquote> <blockquote type="cite"> <div> In the output you've given, let's just say the issue is that there is </div> </blockquote> <blockquote type="cite"> <div> no libmysqlclient.so.21 in the standard INCLUDE path.. </div> </blockquote> <blockquote type="cite"> <div> I have just extracted dovecot-2.3.4 into a directory and did: </div> </blockquote> <blockquote type="cite"> <div> ./configure --with-mysql=yes </div> </blockquote> <blockquote type="cite"> <div> The output is: </div> </blockquote> <blockquote type="cite"> <div> -----------8<------------ </div> </blockquote> <blockquote type="cite"> <div> checking for mysql_config... mysql_config </div> <div> checking for mysql_init in -lmysqlclient... yes </div> <div> checking mysql.h usability... yes </div> <div> checking mysql.h presence... yes </div> <div> checking for mysql.h... yes </div> <div> checking for mysql_ssl_set in -lmysqlclient... yes </div> <div> ----------8<-------------- </div> <div> Install prefix . : /usr/local </div> <div> File offsets ... : 64bit </div> <div> I/O polling .... : kqueue </div> <div> I/O notifys .... : kqueue </div> <div> SSL ............ : yes (OpenSSL) </div> <div> GSSAPI ......... : no </div> <div> passdbs ........ : static passwd passwd-file pam checkpassword sql </div> <div> CFLAGS ......... : -std=gnu99 -g -O2 -fstack-protector-strong </div> <div> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes </div> <div> -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 </div> <div> -Wbad-function-cast -Wno-duplicate-decl-specifier -Wstrict-aliasing=2 </div> <div> : -shadow -bsdauth -sia -ldap -vpopmail </div> <div> userdbs ........ : static prefetch passwd passwd-file checkpassword sql </div> <div> : -ldap -vpopmail </div> <div> *SQL drivers .... : mysql* </div> <div> : -pgsql -sqlite -cassandra </div> <div> Full text search : squat </div> <div> : -lucene -solr </div> <div> <a href="mailto:root@gw:/usr/local/SRC/dovecot-2.3.4">root@gw:/usr/local/SRC/dovecot-2.3.4</a> # </div> </blockquote> <blockquote type="cite"> <div> So, yes, it's supported! </div> </blockquote> <blockquote type="cite"> <div> -- </div> </blockquote> <blockquote type="cite"> <div> Best regards, </div> <div> Odhiambo WASHINGTON, </div> <div> Nairobi,KE </div> <div> +254 7 3200 0004/+254 7 2274 3223 </div> <div> "Oh, the cruft.", grep ^[^#] :-) </div> </blockquote> <blockquote type="cite"> <div> -- </div> <div> Larry Rosenman <a href="http://www.lerctr.org/~ler" rel="noopener" target="_blank">http://www.lerctr.org/~ler</a> </div> <div> Phone: +1 214-642-9640 (c) E-Mail: <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a> </div> <div> US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 </div> </blockquote> <blockquote type="cite"> <div> --- </div> <div> Aki Tuomi </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"></blockquote> </blockquote> <blockquote type="cite"> <div> --- </div> <div> Aki Tuomi </div> </blockquote> <div> > </div> <div> > </div> <blockquote type="cite"> <div> -- </div> <div> Larry Rosenman <a href="http://www.lerctr.org/~ler" rel="noopener" target="_blank">http://www.lerctr.org/~ler</a> </div> <div> Phone: +1 214-642-9640 (c) E-Mail: <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a> </div> <div> US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 </div> </blockquote> <div> > </div> <blockquote type="cite"> <div> --- </div> <div> Aki Tuomi </div> </blockquote> <div> <br> </div> <div> <br> </div> <div> -- </div> <div> Larry Rosenman <a href="http://www.lerctr.org/~ler" rel="noopener" target="_blank">http://www.lerctr.org/~ler</a> </div> <div> Phone: +1 214-642-9640 (c) E-Mail: <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a> </div> <div> US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 </div> </blockquote> <div> <br> </div> <div class="io-ox-signature"> --- <br>Aki Tuomi </div> </body> </html>
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> <pre style="overflow-wrap: break-word; white-space: pre-wrap;">Apologies for earlier empty email, butterfingers me...<br><br>anyways, found this in the logs which seems to explain problems:<br><br><br>/usr/bin/ld: error: unable to find library -limported_openssl /usr/bin/ld: error: unable to find library -limported_crypto cc: error: linker command failed with exit code 1 (use -v to see invocation)<br><br>Aki</pre> </div> <blockquote type="cite"> <div> On 15 January 2019 at 22:50 Larry Rosenman < <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> config.log at: </div> <div> <a href="https://www.lerctr.org/~ler/dovecot/config.log" rel="noopener" target="_blank">https://www.lerctr.org/~ler/dovecot/config.log</a> </div> <div> <br> </div> <div> <br> </div> <div> <br> </div> <div> On Tue, Jan 15, 2019 at 2:40 PM Aki Tuomi < <a href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a>> </div> <div> wrote: </div> <div> <br> </div> <blockquote type="cite"> <div> Any way you could check config.log ? </div> </blockquote> <blockquote type="cite"> <div> Aki </div> </blockquote> <blockquote type="cite"> <div> On 15 January 2019 at 22:32 Larry Rosenman < <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a>> wrote: </div> </blockquote> <div> > </div> <blockquote type="cite"> <div> Not sure what ELSE could be causing this failure. Full build logs are at </div> <div> the home.lerctr.org:8888 link. </div> </blockquote> <div> > </div> <blockquote type="cite"> <div> On Tue, Jan 15, 2019 at 2:30 PM Aki Tuomi < <a href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a>> </div> <div> wrote: </div> </blockquote> <blockquote type="cite"> <div> <a href="https://dev.mysql.com/doc/refman/8.0/en/mysql-init.html" rel="noopener" target="_blank">https://dev.mysql.com/doc/refman/8.0/en/mysql-init.html</a> does not support </div> <div> intentional removal of mysql_init </div> </blockquote> <blockquote type="cite"> <div> Aki </div> </blockquote> <blockquote type="cite"> <div> On 15 January 2019 at 22:28 Aki Tuomi < <a href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a>> </div> <div> wrote: </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"></blockquote> </blockquote> <blockquote type="cite"> <div> I tried earlier today using latest version offered in Oracle repos for </div> <div> 8.0, and was able to compile dovecot. I can revisit the issue though. </div> </blockquote> <blockquote type="cite"> <div> Aki </div> </blockquote> <blockquote type="cite"> <div> On 15 January 2019 at 22:02 Larry Rosenman < <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a>> wrote: </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"></blockquote> </blockquote> <blockquote type="cite"> <div> It appears the issue is MySQL 8.0.13 apparently(?) removed the mysql_init </div> <div> symbol. </div> </blockquote> <blockquote type="cite"> <div> poudriere logs: </div> <div> <a href="http://home.lerctr.org:8888/jail.html?mastername=p120amd64-host-ports" rel="noopener" target="_blank">http://home.lerctr.org:8888/jail.html?mastername=p120amd64-host-ports</a> </div> </blockquote> <blockquote type="cite"> <div> the first build is 8.0.12, the 2nd is 8.0.13. </div> </blockquote> <blockquote type="cite"> <div> Can the dovecot guys look as well? I've sent a note to the MySQL </div> <div> maintainer for FreeBSD as well. </div> </blockquote> <blockquote type="cite"> <div> Thanks. </div> </blockquote> <blockquote type="cite"> <div> On Tue, Jan 15, 2019 at 1:15 AM Odhiambo Washington < <a href="mailto:odhiambo@gmail.com">odhiambo@gmail.com</a>> </div> <div> wrote: </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"></blockquote> </blockquote> <blockquote type="cite"> <div> On Tue, 15 Jan 2019 at 04:57, Larry Rosenman < <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a>> </div> </blockquote> <blockquote type="cite"> <div> wrote: </div> </blockquote> <blockquote type="cite"> <div> I got a complaint from a FreeBSD user that they couldn't compile </div> </blockquote> <blockquote type="cite"> <div> dovecot </div> </blockquote> <blockquote type="cite"> <div> against MySQL 8.0. </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"> <blockquote type="cite"> <div> Is MySQL 8.0 support with 2.3.4? </div> </blockquote> </blockquote> <div> >> they receive: </div> <div> >> checking for mysql_init in -lmysqlclient... no </div> <div> >> configure: error: Can't build with MySQL support: libmysqlclient not </div> <div> >> found ===> Script "configure" failed unexpectedly. </div> <div> >> Please report the problem to <a href="mailto:ler@FreeBSD.org">ler@FreeBSD.org</a> [maintainer] and attach </div> <div> the </div> <div> >> "/wrkdirs/usr/ports/mail/dovecot/work/dovecot-2.3.4/config.log" </div> <div> >> including the output of the failure of your make command. Also, it </div> <div> >> might be a good idea to provide an overview of all packages installed </div> <div> >> on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). </div> <div> >> *** Error code 1 </div> <div> >> </div> <div> >> thanks! </div> <div> >> </div> <div> > </div> </blockquote> <blockquote type="cite"> <div> I recently installed FreeBSD-12 and installed MySQL-8.0 and build </div> </blockquote> <blockquote type="cite"> <div> dovecot-2.3.4 against it. </div> <div> Well, I tried to do ldd /usr/local/sbin/dovecot to see what it's build </div> <div> against, but it shows different </div> <div> output than what I see when I do the same against my Exim. Maybe it's a </div> <div> gcc vs clang issue, but </div> </blockquote> <blockquote type="cite"> <div> root@gw:/usr/home/wash # uname -msrsv </div> </blockquote> <blockquote type="cite"> <div> FreeBSD 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64 </div> <div> root@gw:/usr/home/wash # mysql --version </div> <div> mysql Ver 8.0.12 for FreeBSD12.0 on amd64 (Source distribution) </div> <div> root@gw:/usr/home/wash # strings /usr/local/sbin/dovecot | grep SQL </div> <div> SQL drivers: mysql postgresql sqlite </div> </blockquote> <blockquote type="cite"> <div> In the output you've given, let's just say the issue is that there is </div> </blockquote> <blockquote type="cite"> <div> no libmysqlclient.so.21 in the standard INCLUDE path.. </div> </blockquote> <blockquote type="cite"> <div> I have just extracted dovecot-2.3.4 into a directory and did: </div> </blockquote> <blockquote type="cite"> <div> ./configure --with-mysql=yes </div> </blockquote> <blockquote type="cite"> <div> The output is: </div> </blockquote> <blockquote type="cite"> <div> -----------8<------------ </div> </blockquote> <blockquote type="cite"> <div> checking for mysql_config... mysql_config </div> <div> checking for mysql_init in -lmysqlclient... yes </div> <div> checking mysql.h usability... yes </div> <div> checking mysql.h presence... yes </div> <div> checking for mysql.h... yes </div> <div> checking for mysql_ssl_set in -lmysqlclient... yes </div> <div> ----------8<-------------- </div> <div> Install prefix . : /usr/local </div> <div> File offsets ... : 64bit </div> <div> I/O polling .... : kqueue </div> <div> I/O notifys .... : kqueue </div> <div> SSL ............ : yes (OpenSSL) </div> <div> GSSAPI ......... : no </div> <div> passdbs ........ : static passwd passwd-file pam checkpassword sql </div> <div> CFLAGS ......... : -std=gnu99 -g -O2 -fstack-protector-strong </div> <div> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes </div> <div> -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 </div> <div> -Wbad-function-cast -Wno-duplicate-decl-specifier -Wstrict-aliasing=2 </div> <div> : -shadow -bsdauth -sia -ldap -vpopmail </div> <div> userdbs ........ : static prefetch passwd passwd-file checkpassword sql </div> <div> : -ldap -vpopmail </div> <div> *SQL drivers .... : mysql* </div> <div> : -pgsql -sqlite -cassandra </div> <div> Full text search : squat </div> <div> : -lucene -solr </div> <div> <a href="mailto:root@gw:/usr/local/SRC/dovecot-2.3.4">root@gw:/usr/local/SRC/dovecot-2.3.4</a> # </div> </blockquote> <blockquote type="cite"> <div> So, yes, it's supported! </div> </blockquote> <blockquote type="cite"> <div> -- </div> </blockquote> <blockquote type="cite"> <div> Best regards, </div> <div> Odhiambo WASHINGTON, </div> <div> Nairobi,KE </div> <div> +254 7 3200 0004/+254 7 2274 3223 </div> <div> "Oh, the cruft.", grep ^[^#] :-) </div> </blockquote> <blockquote type="cite"> <div> -- </div> <div> Larry Rosenman <a href="http://www.lerctr.org/~ler" rel="noopener" target="_blank">http://www.lerctr.org/~ler</a> </div> <div> Phone: +1 214-642-9640 (c) E-Mail: <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a> </div> <div> US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 </div> </blockquote> <blockquote type="cite"> <div> --- </div> <div> Aki Tuomi </div> </blockquote> <blockquote type="cite"> <blockquote type="cite"></blockquote> </blockquote> <blockquote type="cite"> <div> --- </div> <div> Aki Tuomi </div> </blockquote> <div> > </div> <div> > </div> <blockquote type="cite"> <div> -- </div> <div> Larry Rosenman <a href="http://www.lerctr.org/~ler" rel="noopener" target="_blank">http://www.lerctr.org/~ler</a> </div> <div> Phone: +1 214-642-9640 (c) E-Mail: <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a> </div> <div> US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 </div> </blockquote> <div> > </div> <blockquote type="cite"> <div> --- </div> <div> Aki Tuomi </div> </blockquote> <div> <br> </div> <div> <br> </div> <div> -- </div> <div> Larry Rosenman <a href="http://www.lerctr.org/~ler" rel="noopener" target="_blank">http://www.lerctr.org/~ler</a> </div> <div> Phone: +1 214-642-9640 (c) E-Mail: <a href="mailto:larryrtx@gmail.com">larryrtx@gmail.com</a> </div> <div> US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 </div> </blockquote> <div> <br> </div> <div class="io-ox-signature"> --- <br>Aki Tuomi </div> </body> </html>