Subject: how to link against libs from pkgsrc when also in base?
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <jukka-netbsd@2003.salmi.ch>
List: netbsd-help
Date: 02/24/2004 14:24:55
Hi,

on a NetBSD system with heimdal kerberos installed both in base and
from pkgsrc (security/heimdal), how do I specify which libraries I'd
like to use when installing additional software from pkgsrc, e.g.
security/cyrus-sasl2?

I tried setting KRB5BASE to $LOCALBASE when compiling security/cyrus-sasl2,
but I'm getting errors:

$ ldapsearch 
SASL/GSSAPI authentication started
ldap_sasl_interactive_bind_s: Invalid credentials (49)
        additional info: SASL(-13): authentication failure: GSSAPI Failure: gss_accept_sec_context

When running kdc from base this works fine.


TIA, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~