Failing to build GNUnet 0.22.0 on Arch Linux with incorrect detection of libgcrypt version

marty1885 <[email protected]> Mon, 02 Sep 2024 14:31:56 +0000
Newsgroups gmane.network.gnunet.general
Message-ID <qiofh6lAqJ25xuEAj6G2Q0fiR7Jx6g7lzO4DTOldkNKyp2atN5s4r23FHgsauJWKwWI9hy5AAzlb-WF4CKQLhEMKs-3qRJNjfa4gQa3vEPI=@protonmail.com>
Hi,

Congrats for releasing 0.22.0. I tried to build the code on my Arch Linux s=
erver and ran into the following error during configuration. GNUnet is unha=
ppy that my libgcrypt is too old and wants at least version 1.6.0.

checking for struct tm.tm_gmtoff... yes
checking for getaddrinfo_a in -lanl... yes
checking for libgcrypt-config... no
checking for LIBGCRYPT - version >=3D 1.6.0... no
checking for gcc options needed to detect all undeclared functions... none =
needed
checking whether gcry_mpi_set_opaque_copy is declared... yes
configure: error: You need libgcrypt to build this program.
At least version 1.6.0 (API 1) is required.

However, pacman says I have version 1.11.0-2.

pacman -Qi libgcrypt | head -n 2
Name            : libgcrypt
Version         : 1.11.0-2

Is there anything I can do to solve this problem? Hope my system info helps=
 resolving this issue.

OS: Arch Linux ARM
Compile: GCC 14.1
GNUnet: 0.22.0
libgcrypt: 1.11.0
autotools: 2.72


BR,
Martin