Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jun 2016 16:32:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210351] Mk/Uses/gssapi.mk -- when using MIT-kerberos  -lk5crypto not part of GSSAPILIBS
Message-ID:  <bug-210351-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210351

            Bug ID: 210351
           Summary: Mk/Uses/gssapi.mk -- when using MIT-kerberos
                    -lk5crypto not part of GSSAPILIBS
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: hrs@FreeBSD.org
          Reporter: mi@FreeBSD.org
                CC: cy@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org

I had to add the explicit -lk5crypto to the list of libraries required for
building my new net-mgmt/adcli against MIT-kerberos, because without it the
build would die thus:

/usr/bin/ld: undefined reference to symbol `krb5_c_string_to_key' (try addi=
ng
-lk5crypto)
/opt/lib/libk5crypto.so.3.1: could not read symbols: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)

This puzzles me, because the library is used by MIT's libkrb5.so already...

Not sure, whether the fault is with gssapi.mk or the security/krb5-114 itse=
lf
somehow, so just raising awareness here...

I suspect, gssapi.mk is wrong, because it lists ``-lkrb5 -lgssapi_krb5'' in
GSSAPILIBS, whereas krb5-installed ${PREFIX}/bin/krb5-config --libs lists
``-lkrb5 -lk5crypto -lcom_err'' instead.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210351-13>