Subject: Re: Problems with openldap package
To: None <tech-pkg@netbsd.org>
From: Geoff Wing <mason@primenet.com.au>
List: tech-pkg
Date: 07/21/1999 16:15:42
Sean Witham <sean.witham@asa.co.uk> typed:
:I seem to have a problem with my NetBSD-1.4 build (i386), as after a
:successful installation of the openldap package I found the admin
:tool ldif2ldbm failed with a run time linking problem.

:Any ideas why this is happening on my machine, I take it this is not a
:common problem as the package is available in binary form.

Should happen to everyone.

:I'm attempted to download it at the moment to see if I have any extra
:luck. If I do i'd still like to know what it is wrong with my package
:build environment.

Send-pr it.  It's a bug.  This should help you (I did it slightly
differently when I built it - so I haven't tested this).  My guess: 
SLAPD_LIBS should really only be used on slapd, not the supporting
files.


*** servers/slapd/tools/Makefile.org	Fri Jul 16 18:18:53 1999
--- servers/slapd/tools/Makefile	Thu Jul 22 02:13:47 1999
***************
*** 179,186 ****
  LDAP_LIBDIR= ../../../libraries
  
  XLIBS = -lavl -lldif -lldap -llber -lldbm -llthread -llutil
! XXLIBS = $(LDAPD_LIBS) $(SLAPD_LIBS) \
! 	$(LDBM_LIBS) $(KRB_LIBS) $(LUTIL_LIBS)
  XXXLIBS = $(LTHREAD_LIBS)
  
  PROGRAMS=ldif2index ldif2ldbm ldbmcat ldif2id2entry \
--- 179,185 ----
  LDAP_LIBDIR= ../../../libraries
  
  XLIBS = -lavl -lldif -lldap -llber -lldbm -llthread -llutil
! XXLIBS = $(LDBM_LIBS) $(KRB_LIBS) $(LUTIL_LIBS)
  XXXLIBS = $(LTHREAD_LIBS)
  
  PROGRAMS=ldif2index ldif2ldbm ldbmcat ldif2id2entry \

-- 
Geoff Wing : <gcw@pobox.com>     Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@rxvt.org>      Ego URL : http://pobox.com/~gcw/
Zsh Stuff  : <gcw@zsh.org>       Phone   : (Australia) 0413 431 874