Kolab beta 3 and sieve problem
Bernhard Reiter
bernhard at intevation.de
Wed May 4 11:36:24 CEST 2005
On Wednesday 04 May 2005 02:21, Oliver Beck wrote:
> On Tue, 3 May 2005 15:51:47 +0200
>
> Bernhard Reiter <bernhard at intevation.de> wrote:
> > Can you do an "ldd" on the slapd executable?
>
> I can. But i dont do it :)
>
> Because imapd is the suspect, not slapd (which is not linked against
> BerkeleyDB).
Oh, yes, of course. :)
> But the output from `ldd /kolab/bin/imapd` shows:
>
> ---- snip ----
> debian-kolab:/# ldd /kolab/bin/imapd
> libdl.so.2 => /lib/libdl.so.2 (0x4001c000)
> libnsl.so.1 => /lib/libnsl.so.1 (0x4001f000)
> libresolv.so.2 => /lib/libresolv.so.2 (0x40034000)
> libdb-4.3.so => /usr/lib/libdb-4.3.so (0x40047000)
So it indeed looks for libdb-4.3, but has used the 4.2 headers.
So at compile time, this might have happened.
You could try recompiling with db4.3 (even runtime) removed from the system
or with a LD_LIBRARY_PATH set?
> libc.so.6 => /lib/libc.so.6 (0x4012b000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> ---- snap ----
>
> > Maybe changing the LD_LIBRARY_PATH could help?
>
> ---- snip ----
> debian-kolab:/# LD_LIBRARY_PATH="/kolab/usr/lib:/kolab/lib" \
> ldd /kolab/bin/imapd
> libdl.so.2 => /lib/libdl.so.2 (0x4001c000)
> libnsl.so.1 => /lib/libnsl.so.1 (0x4001f000)
> libresolv.so.2 => /lib/libresolv.so.2 (0x40034000)
> libdb-4.3.so => /usr/lib/libdb-4.3.so (0x40047000)
> libc.so.6 => /lib/libc.so.6(0x4012b000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2(0x40000000)
> --- snap ---
>
> Nice idea, thanks. But no solution :(
Another hack to see if this is the problem is to create a link from libdb-4.3.so
to the corresponding 4.2 lib within /kolab, set the LD_LIBRARY_PATH and
see if this picks up the right one.
Note: This is a bad hack only to see if rebuilding would help.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2145 bytes
Desc: signature
URL: <http://lists.kolab.org/pipermail/users/attachments/20050504/c16823f9/attachment.p7s>
More information about the users
mailing list