On/for main [so: 15], ftp/curl 's config: "ld: error: unable to find library -lgssapi" (via poudriere-devel)

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports,gmane.os.freebsd.current
Message-ID <[email protected]>
For the most part my attempt to build my normal packages
has worked after my system and ports-tree upgrades.

But not ftp/curl . That, in turn, blocks a lot of other
packages from being built.


# ~/fbsd-based-on-what-commit.sh -C /usr/ports/
78939953d5e7 (HEAD -> main, freebsd/main, freebsd/HEAD) databases/py-pg8000: Update to 1.31.4
Author:     Wen Heping <[email protected]>
Commit:     Wen Heping <[email protected]>
CommitDate: 2025-08-11 02:14:14 +0000
branch: main
merge-base: 78939953d5e7bfcdcbd3bccb789531be3637c6dc
merge-base: CommitDate: 2025-08-11 02:14:14 +0000
n715497 (--first-parent --count for merge-base)

# uname -apKU
FreeBSD 7950X3D-ZFS 15.0-PRERELEASE FreeBSD 15.0-PRERELEASE main-n279519-7a9834041c91 GENERIC-NODEBUG amd64 amd64 1500059 1500059

ftp/curl fails for:

configure:4974: checking whether the C compiler works
configure:4996: cc -I/usr/include -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/include -I/usr/include -isystem /usr/local/include    -L/usr/lib -L/usr/l
ib -L/usr/local/lib  conftest.c -lkrb5 -lgssapi -lgssapi_krb5 -lkrb5 -lgssapi -lgssapi_krb5 >&5
ld: error: unable to find library -lgssapi
ld: error: unable to find library -lgssapi
cc: error: linker command failed with exit code 1 (use -v to see invocation)


# find -s /usr/lib*/ /lib*/ -name 'libgssapi*' -print
/usr/lib/debug/usr/lib/libgssapi_krb5.so.122.debug
/usr/lib/debug/usr/lib32/libgssapi_krb5.so.122.debug
/usr/lib/libgssapi_krb5.a
/usr/lib/libgssapi_krb5.so
/usr/lib/libgssapi_krb5.so.122
/usr/lib32/libgssapi_krb5.a
/usr/lib32/libgssapi_krb5.so
/usr/lib32/libgssapi_krb5.so.122



I use default options for this, the log showing:

---Begin OPTIONS List---
===> The following configuration options are available for curl-8.15.0:
     ALTSVC=on: HTTP Alternative Services support
     COOKIES=on: Cookies support
     CURL_DEBUG=off: cURL debug memory tracking
     DEBUG=off: Build with debugging support
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     IDN=on: International Domain Names support
     IPV6=on: IPv6 protocol support
     LIBUV=off: Event-based tests
     NTLM=on: NTLM authentication support
     PROXY=on: Proxy support
     PSL=on: Public Suffix List support
     STATIC=on: Build static executables and/or libraries
     TLS_SRP=on: TLS-SRP (Secure Remote Password) support
====> Options available for the group COMPRESSION
     BROTLI=on: Brotli compression support
     ZSTD=on: Zstandard compression support
====> Options available for the group PROTOCOL
     DICT=on: DICT (RFC 2229) support
     FTP=on: FTP protocol support
     GOPHER=on: Gopher protocol support
     HTTP=on: HTTP/HTTPS support
     HTTP2=on: HTTP/2 support (requires HTTP)
     IMAP=on: IMAP/IMAPS support
     IPFS=on: IPFS support
     LDAP=off: LDAP protocol support
     LDAPS=off: LDAP protocol over SSL support (requires GNUTLS/OPENSSL/WOLFSSL)
     LIBSSH=off: SCP/SFTP support via libssh (requires OPENSSL)
     LIBSSH2=on: SCP/SFTP support via libssh2 (requires OPENSSL)
     MQTT=on: MQTT support
     POP3=on: POP3/POP3S support
     RTSP=on: Real Time Streaming Protocol (RTSP) support
     SMB=on: SMB/CIFS support
     SMTP=on: SMTP/SMTPS support
     TELNET=on: Telnet support
     TFTP=on: TFTP support
     WEBSOCKET=on: WebSocket protocol support
====> GSSAPI Security API support: you have to select exactly one of them
     GSSAPI_BASE=on: GSSAPI support via base system (needs Kerberos)
     GSSAPI_HEIMDAL=off: GSSAPI support via security/heimdal
     GSSAPI_MIT=off: GSSAPI support via security/krb5
     GSSAPI_NONE=off: Disable GSSAPI support
====> DNS resolving options: you have to select exactly one of them
     CARES=off: Asynchronous DNS resolution via c-ares
     THREADED_RESOLVER=on: Threaded DNS resolver
====> SSL protocol support: you can only select none or one of them
     GNUTLS=off: SSL/TLS support via GnuTLS
     OPENSSL=on: SSL/TLS support via OpenSSL
     WOLFSSL=off: SSL/TLS support via wolfSSL
===> Use 'make config' to modify these settings
---End OPTIONS List---



===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.