Megpróbálhatom forrásból telepíteni, természetesen minden függőségének van két további függősége, eddig ennyi van:
libgpg-error-1.47
libgcrypt-1.10.3
sqlite3-3.44.2
npth-1.6
libassuan-2.5.6
libksba-1.6.5
gnupg-2.4.3
Szerk: Most jó részhez érkeztem:
gcc -std=gnu99 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/p11-kit-1 -Wall -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -m64 -std=c99 -m64 -L/usr/local/lib64 -Wl,-rpath,/usr/local/lib64 -o dirmngr dirmngr.o server.o crlcache.o crlfetch.o fakecrl.o certcache.o domaininfo.o workqueue.o loadswdb.o cdblib.o misc.o ocsp.o validate.o dns-stuff.o http.o http-common.o http-ntbtls.o ks-action.o ks-engine-hkp.o ks-engine-http.o ks-engine-finger.o ks-engine-kdns.o dns.o ../common/libcommonpth.a -lresolv -L/usr/local/lib64 -lassuan -L/usr/local/lib64 -lksba -lgpg-error -L/usr/local/lib64 -lnpth -lpthread -L/usr/local/lib64 -lgnutls -L/usr/local/lib64 -lgcrypt -L/usr/local/lib64 -lgpg-error
/usr/local/lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: server.o: in function `cmd_ad_query':
server.c:(.text+0x47ff): undefined reference to `ks_ldap_help_variables'
collect2: error: ld returned 1 exit status
make[2]: *** [dirmngr] Error 1
make[2]: Leaving directory `/usr/local/src/gnupg-2.4.3/dirmngr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gnupg-2.4.3'
make: *** [all] Error 2
Innen kellene jönnie: https://github.com/gpg/gnupg/blob/master/dirmngr/ks-engine-ldap.c
Első ötletem: yum install openldap-devel
Így már csak annyi gond van, hogy a derék fejlesztők nem tudnak róla, hogy használják a pthread-ot.
/usr/local/lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: t_http_basic-dns.o: undefined reference to symbol 'pthread_sigmask@@GLIBC_2.2.5'
/usr/local/lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libpthread.so.0: error adding symbols: DSO missing from command line