Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2015 12:01:41 -0500 (EST)
From:      Benjamin Kaduk <kaduk@MIT.EDU>
To:        current@freebsd.org
Cc:        bapt@freebsd.org
Subject:   /usr/lib/private and static linking?
Message-ID:  <alpine.GSO.1.10.1502121158050.3953@multics.mit.edu>

next in thread | raw e-mail | index | archive | help
I have a machine running -current from December (r276480), and trying to
link with "cc -static [...] $(krb5-config --libs)" yields a linker error:

/usr/lib/libkrb5.a(kcm.o): In function `krb5_kcm_call':
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/kcm/kcm.c:(.text+0x10e):
undefined reference to `heim_ipc_init_context'
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/kcm/kcm.c:(.text+0x162):
undefined reference to `heim_ipc_call'

Should I update my system?  Is static linking against libraries which
consume libraries in /usr/lib/private no longer supported?

Thanks,

Ben



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.1.10.1502121158050.3953>