ocserv fails to build with gssapi support

Carlos J Puga Medina cpm at fbsd.es
Tue Sep 15 18:13:54 PDT 2015


On Tue, 2015-09-15 at 19:03 +0200, Carlos J Puga Medina wrote:
> On Tue, 2015-09-15 at 18:35 +0200, Nikos Mavrogiannopoulos wrote:
> 
> Hi Nikos,
> > On Mon, Sep 14, 2015 at 10:54 PM, Carlos J Puga Medina <cpm at fbsd.es
> > >
> > wrote:
> > > Hi people,
> > > 
> > > Trying to build ocserv with gssapi support enabled fails. Here it
> > > is
> > > the build log output (only the relevant lines)
> > > 
> > > <snip>
> > >   CCLD     ocpasswd
> > >   CCLD     occtl
> > >   CCLD     ocserv
> > > /usr/local/lib/libgssapi_krb5.so: undefined reference to
> > > `krb5_ser_ccache_init'
> > 
> > In my system ocserv is linked against libgssapi_krb5.so,
> > libkrb5.so,
> > and libkrb5support.so. Could it be that you are missing the rest of
> > the libraries?
> 
> It seems that kerberos from base is causing me problems. I'm waiting
> for some feedback from krb5 port maintainer.

OK, finally I built it successfully after doing some changes and
rebuild world

% cat /etc/src.conf 
WITHOUT_KERBEROS=yes
WITHOUT_KERBEROS_SUPPORT=yes

% cat /etc/make.conf | grep KRB5
KRB5_HOME=/usr/local
KRB5_IMPL=mit

-- 
Carlos Jacobo Puga Medina <cpm at fbsd.es>
PGP fingerprint = C60E 9497 5302 793B CC2D  BB89 A1F3 5D66 E6D0 5453
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20150916/427a6547/attachment.sig>


More information about the openconnect-devel mailing list