Subject: Re: openldap make fails
To: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: tech-pkg
Date: 01/10/2003 02:01:00
On Thu, Jan 09, 2003 at 02:17:26PM +0100, Ronald van der Pol wrote:
> Openldap fails to make (cvs'ed pkgsrc today). I try to build on
> i386 1.6_STABLE (16 December 2002).
> 
> cc -O2 -I/usr/pkgsrc/databases/openldap/work/.buildlink/include -I../../include -I../../include -I/usr/pkgsrc/databases/openldap/work/.buildlink/include -Wl,-R/usr/pkg/lib -o .libs/apitest apitest.o  -L/usr/pkgsrc/databases/openldap/work/.buildlinksrc/databases/openldap/work/openldap-2.0.27/libraries -L/usr/pkgsrc/databases/openldap/work/.buildlink/lib /usr/pkgsrc/databases/openldap/work/openldap-2.0.27/libraries/libldap/.libs/libldap.so -llber -llutil -lssl -lcrypto -Wl,--rpath -Wl,/usr/pkg/lib
> /usr/bin/ld: cannot find -llber
> collect2: ld returned 1 exit status
> *** Error code 1

Please cvs update your pkgsrc and try building again.  You'll need at least
revision 1.74 of mk/buildlink2/bsd.buildlink2.mk.  Please let me know if
this fixes your problem.

	Thanks,

	-- Johnny Lam <jlam@netbsd.org>