Subject: Re: pkgsrc NetBSD 2.99.10/i386 bulk build results 2004-11-16
To: Thomas Klausner <wiz@NetBSD.org>
From: Johnny C. Lam <jlam@buildlink.org>
List: pkgsrc-bulk
Date: 11/17/2004 11:59:34
Thomas Klausner wrote:
> ld: cannot find -ldb4
The changes to bdb.buildlink3.mk and db[234]/buildlink3.mk are such that
if bdb.buildlink3.mk is included but the intent is not to get db-1.85
functionality, then the library isn't automatically tacked on to the end
of the link line.
This impacts databases/openldap because the package Makefile specifies
"BDB_ACCEPTED=db4", so "-ldb4" isn't automatically linked in to all of
the libraries and programs. In fact, this is the correct thing to do
since only the "bdb" backend needs to link against -ldb4, while the
client libraries (libldap*, liblber*) don't need to link against -ldb4
since they don't use db_*() functions at all.
I think most of these problems would be resolved if the openldap package
was rebuilt.
Cheers,
-- Johnny Lam <jlam@buildlink.org>