Subject: sasl build failure with db-4.3 and db-4.4
To: None <pkgsrc-users@netbsd.org>
From: David Carrel <carrel@netbsd.org>
List: pkgsrc-users
Date: 10/30/2006 10:54:47
I'm trying to build cyrus-sasl on a Fedora Core 5 system and I am getting
a weird failure.  FC5 contains a native libdb-4.3 but pkgsrc has also
built a libdb-4.4.  Other pkgsrc apps seem to only use the pkgsrc built
libdb-4.4.  However cyrus-sasl is using a mix of both.  The build includes
are only compiling with the pkgsrc 4.4 include file(s).  But for linking,
some files are linked with -ldb-4.3 and some with -ldb-4.4.  In the end,
using ldd to look at the installed binaries (ie.
/usr/pkg/sbin/sasldblistusers2) shows they are linked to the native
system's libdb-4.3 which doesn't work since everything was compiled
against pkgsrc' db-4.4.

Other packages (such as postfix) are linking against the pkgsrc db-4.4 and
working correctly.

Any ideas?

Dave