FTBFS: configure: error: linking with -L/usr/lib/x86_64-linux-gnu/mit-krb5 does not work
Summary
- ./configure fails with v9.19.19
- no such issue with v9.19.18 with the same workflow
BIND version affected
v9.19.19
Steps to reproduce
git checkout v9.19.19
export CFLAGS+=-Wno-error
export NOCONFIGURE=yes
autoreconf -f -i
./configure --build=x86_64-pc-linux-gnu \
--prefix=/usr --sysconfdir=/etc/bind --localstatedir=/ \
--datarootdir=/usr/share --docdir=/usr/share/doc --mandir=/usr/share/man \
--disable-querytrace \
--enable-auto-validation \
--enable-dnstap \
--enable-doh \
--enable-fixed-rrset \
--enable-full-report \
--enable-geoip \
--enable-largefile \
--enable-shared=yes \
--with-cmocka=yes \
--with-gnu-ld=yes \
--with-gssapi=/usr/bin/krb5-config \
--with-jemalloc=detect \
--with-json-c=yes \
--with-libidn2 \
--with-libxml2=yes \
--with-lmdb=auto \
--with-maxminddb=yes \
--with-openssl=/usr/lib/x86_64-linux-gnu \
--with-zlib=yes
What is the current bug behavior?
checking for gss_acquire_cred... no
configure: error: linking with -L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err does not work
What is the expected correct behavior?
no configure error
Environment
- Ubuntu mantic 23.10
- linux 6.6.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 30 10:27:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
- krb5-multidev: 1.20.1-3ubuntu1
- libkrb5-dev: 1.20.1-3ubuntu1
git-bind9 ((v9.19.19))$ ls -al /usr/lib/x86_64-linux-gnu/mit-krb5
total 244
drwxr-xr-x 2 root root 4096 Dec 22 20:38 .
drwxr-xr-x 215 root root 241664 Dec 22 20:43 ..
lrwxrwxrwx 1 root root 24 Aug 24 20:07 libgssapi_krb5.so -> ../libgssapi_krb5.so.2.2
lrwxrwxrwx 1 root root 19 Aug 24 20:07 libgssrpc.so -> ../libgssrpc.so.4.2
lrwxrwxrwx 1 root root 21 Aug 24 20:07 libk5crypto.so -> ../libk5crypto.so.3.1
lrwxrwxrwx 1 root root 27 Aug 24 20:07 libkadm5clnt_mit.so -> ../libkadm5clnt_mit.so.12.0
lrwxrwxrwx 1 root root 19 Aug 24 20:07 libkadm5clnt.so -> libkadm5clnt_mit.so
lrwxrwxrwx 1 root root 26 Aug 24 20:07 libkadm5srv_mit.so -> ../libkadm5srv_mit.so.12.0
lrwxrwxrwx 1 root root 18 Aug 24 20:07 libkadm5srv.so -> libkadm5srv_mit.so
lrwxrwxrwx 1 root root 18 Aug 24 20:07 libkdb5.so -> ../libkdb5.so.10.0
lrwxrwxrwx 1 root root 17 Aug 24 20:07 libkrb5.so -> ../libkrb5.so.3.3
lrwxrwxrwx 1 root root 24 Aug 24 20:07 libkrb5support.so -> ../libkrb5support.so.0.1