[Dovecot] dovecot cores
Timo Sirainen
tss at iki.fi
Fri Oct 12 23:07:08 EEST 2012
On 12.10.2012, at 11.10, dovecot at freakout.de wrote:
> MYSQL_LIBS=-lmysqlclient \
> LDFLAGS="-L/opt/zlib/lib -L/opt/ssl/lib -L/opt/mysql/lib" \
> ./configure --prefix=%{_prefix} \
> --sysconfdir=%{_etcdir} --mandir=%{_mandir} --docdir=%{_docdir} --libexecdir=%{_sbindir} --datadir=%{_prefix} \
> --with-rundir=/var/dovecot/run \
> --with-statedir=/var/dovecot/state \
> --with-mysql
> => WORKING
I think this is the correct fix for this. Basically same as what I committed now: http://hg.dovecot.org/dovecot-2.1/rev/c8d55ba25f39
> BUT:
>
> [axel at joe rpm]$ ldd BUILD/dovecot-2.1.10-root/opt/dovecot-2.1.10-5/sbin/dovecot
> libdovecot.so.0 => /opt/dovecot/lib/libdovecot.so.0 (0x00993000)
> libgcc_s.so.1 => /opt/gcc4/lib/libgcc_s.so.1 (0x0092c000)
> libc.so.6 => /lib/libc.so.6 (0x00ebf000)
>>>>> ! libmysqlclient.so.18 => /opt/mysql/lib/libmysqlclient.so.18 (0x001cc000)
> libdl.so.2 => /lib/libdl.so.2 (0x00ae3000)
> libssp.so.0 => /opt/ssp/lib/libssp.so.0 (0x0057b000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x002c6000)
> libstrings.so => /opt/mysql/lib/libstrings.so (0x0057e000)
> libz.so.1 => /opt/zlib/lib/libz.so.1 (0x00110000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x00b08000)
> libm.so.6 => /lib/libm.so.6 (0x00135000)
>
> dovecot still seems to be linked with the mysqlclient!
Maybe the old LDFLAGS was cached somehow? Or maybe the rpm build does something strange? I don't see how that could happen otherwise.
More information about the dovecot
mailing list