Subject: Re: pkgsrc NetBSD 2.99.10/i386 bulk build results 2004-11-16
To: Thomas Klausner <>
From: Johnny C. Lam <>
List: pkgsrc-bulk
Date: 11/17/2004 11:59:34
Thomas Klausner wrote:
> ld: cannot find -ldb4

The changes to and db[234]/ are such that 
if 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.


	-- Johnny Lam <>