Re: main [so: 16] context, an example of: /usr/local/lib/sasl2/libgssapiv2.so: Undefined symbol "gss_inquire_sec_context_by_oid"

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Wed, 15 Oct 2025 08:51:07 UTC
Hello!

Sorry for a late ack.
Can confirm this.
It looks like missing symbols in shared library libgssapi_krb5.so in base but present in static archive libgssapi_krb5.a.

Indeed, string is exist in imported crypto/krb5/src/lib/gssapi.def and crypto/krb5/src/lib/gssapi/libgssapi_krb5.exports but missed in krb5/lib/gssapi/version.map which is actual source for symbols map at linking library

Cc to cy@ as mit krb maintainer

--
Dima. (desktop, kde, x11, office, ports-secteam)@FreeBSD team
(fluffy@FreeBSD.org, https://t.me/FluffyBSD)

> On Friday, Sep 12, 2025 at 5:48 AM, Mark Millard <marklmi@yahoo.com (mailto:marklmi@yahoo.com)> wrote:
> Yesterday and today I made my first trial upgrade from main 15
> to main 16. Hitting other issues, I did not notice it at the
> time but my dmesg -a output shows a:
>
> Sep 11 13:06:48 7950X3D-ZFS sasldblistusers2[70766]: unable to dlopen /usr/local/lib/sasl2/libgssapiv2.so: /usr/local/lib/sasl2/libgssapiv2.so: Undefined symbol "gss_inquire_sec_context_by_oid"
>
> Looking at /var/log/messages I see:
>
> . . .
> Sep 11 13:06:15 7950X3D-ZFS pkg-static[70455]: tcptestsuite-g20250428,1 installed
> Sep 11 13:06:48 7950X3D-ZFS pkg-static[70703]: c-ares-1.34.5 deinstalled
> Sep 11 13:06:48 7950X3D-ZFS sasldblistusers2[70766]: unable to dlopen /usr/local/lib/sasl2/libgssapiv2.so: /usr/local/lib/sasl2/libgssapiv2.so: Undefined symbol "gss_inquire_sec_context_by_oid"
> Sep 11 13:06:48 7950X3D-ZFS pkg-static[70703]: cyrus-sasl-2.1.28_5 deinstalled
> Sep 11 13:06:48 7950X3D-ZFS pkg-static[70703]: cyrus-sasl-gssapi-2.1.28 deinstalled
> . . .
>
> I'll note that I build and install various things that
> I do not use, just to have more variety in what I build,
> or that I rarely use. This would seem to fit that.
>
>
>
> ===
> Mark Millard
> marklmi at yahoo.com
>
>