[Mailman-Developers] Corrupted Aliases.db (Was: bug creating new lists)

Barry A. Warsaw barry@zope.com
Tue, 20 Nov 2001 18:51:15 -0500

>>>>> "JA" == J Accino <jaccino@ieev.uma.es> writes:

    JA> Definitely, the problem seems related with a corrupted aliases
    JA> db.

Actually, I'll bet its an incompatibility between the bsddb libraries
used by Python and those used by Postfix.  We need to figure out which
version the two programs are using.  The only way I can think of to do
this is to use ldd to see which dynamic library the two of them are
linked against, e.g.

% ldd /usr/local/bin/postfix
	libdb.so.3 => /lib/libdb.so.3 (0x40018000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40053000)
	libresolv.so.2 => /lib/libresolv.so.2 (0x40069000)
	libc.so.6 => /lib/libc.so.6 (0x40078000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
% ldd /usr/local/lib/python2.1/lib-dynload/bsddb.so
	libdb.so.3 => /lib/libdb.so.3 (0x40009000)
	libc.so.6 => /lib/libc.so.6 (0x40044000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

So in my case both are linked against libdb.so.3.

What do yours say?

If they differ, read this page for hints on how to get Python to use
the same bsddb module as Postfix:


anticipating-a-faq-entry-ly y'rs,