[Dovecot] dovecot cores

Timo Sirainen tss at iki.fi
Fri Oct 12 10:50:06 EEST 2012


On 12.10.2012, at 10.45, Tamsy wrote:

> Axel, please let us know whether one of these works: "SQL_LIBS=-lmysqlclient or AUTH_LIBS=-lmysqlclient or MYSQL_LIBS=-lmysqlclient".
> 
> Since Dovecot 1.x all the way up to 2.1.10 I had trouble with this and only by putting -lmysqlclient in LDFLAGS as described before Dovecot compiles without error (Ubuntu Server 8.04 & 10.04, mySQL in a non-standart location).

If you run configure without adding the -lmysqlclient, what do you get with:

egrep -i 'mysql|auth_libs|sql_libs' Makefile

I guess the problem is that I shouldn't have copy&pasted the mysql detection code from php, and configure somehow passes successfully without actually setting any MYSQL_LIBS..




More information about the dovecot mailing list