[Dovecot] MySQL patch + Debian
James Tyson
james at giantrobot.co.nz
Mon Nov 17 06:53:58 EET 2003
Hi folks.
Sorry to post here about a patch that hasn't been officially integrated
into Dovecot, however I am trying to get it going and seem to have hit
a dead end.
I downloaded the Debianised source for Dovecot (0.99.10-9) from sarge:
> wedge:/usr/local/src# apt-get -t testing source dovecot
then applied the latest MySQL patch that I could find on the list:
> wedge:/usr/local/src/dovecot-0.99.10# cat ../dovecot-mysql.patch |
> patch -p 2
and manually fixed a merge issue with src/auth/master-connection.c,
fiddled with the debian changelog to indicate the patch and then used
dpkg-buildpackage -b to compile the package.
Everything looked to build alright and I grepped the output to make
sure that it compiled userdb-mysql.o and passdb-mysql.o into
dovecot-auth.
Problem is that dovecot-auth says "Unknown userdb type 'mysql'" and an
ldd of /src/auth/dovecot-auth shows no libmysqlclient10:
> wedge:/usr/local/src/dovecot-0.99.10# ldd src/auth/dovecot-auth
> libpam.so.0 => /lib/libpam.so.0 (0x4001a000)
> libldap.so.2 => /usr/lib/libldap.so.2 (0x40022000)
> libpq.so.3 => /usr/lib/libpq.so.3 (0x4005a000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x4006e000)
> libdl.so.2 => /lib/libdl.so.2 (0x4009c000)
> libc.so.6 => /lib/libc.so.6 (0x4009f000)
> liblber.so.2 => /usr/lib/liblber.so.2 (0x401cd000)
> libresolv.so.2 => /lib/libresolv.so.2 (0x401da000)
> libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x401ec000)
> libgnutls.so.7 => /usr/lib/libgnutls.so.7 (0x401fe000)
> libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7
> (0x40231000)
> libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7
> (0x40260000)
> libkrb5.so.17 => /usr/lib/libkrb5.so.17 (0x40351000)
> libnsl.so.1 => /lib/libnsl.so.1 (0x40387000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> libtasn1.so.0 => /usr/lib/libtasn1.so.0 (0x4039c000)
> libgcrypt.so.1 => /usr/lib/libgcrypt.so.1 (0x403aa000)
> libz.so.1 => /usr/lib/libz.so.1 (0x403e8000)
> libcom_err.so.1 => /usr/lib/libcom_err.so.1 (0x403f7000)
> libkrb.so.1 => /usr/lib/libkrb.so.1 (0x403f9000)
> libasn1.so.6 => /usr/lib/libasn1.so.6 (0x40415000)
> libroken.so.16 => /usr/lib/libroken.so.16 (0x40435000)
> libdb3.so.3 => /usr/lib/libdb3.so.3 (0x40445000)
Anyone know what I'm missing?
---
James Tyson
Director, Giant Robot Ltd
http://www.giantrobot.co.nz/
More information about the dovecot
mailing list