[gnutls-help] Building GnuTLS with p11-kit

Andreas Metzler ametzler at bebt.de
Sun Aug 10 11:06:38 CEST 2025


On 2025-08-09 Fabiano Sidler <gnutls-help at aliases.systohc.net> wrote:
> Hi folks!

> I'm trying to build GnuTLS with p11-kit support. While building p11-kit
> itself with the following commands

>     PREFIX=/tmp
>     P11KIT_VERSION=0.25.5
>     GNUTLS_VERSION=3.7.11

>     wget https://github.com/p11-glue/p11-kit/releases/download/${P11KIT_VERSION}/p11-kit-${P11KIT_VERSION}.tar.xz
>     tar xf p11-kit-${P11KIT_VERSION}.tar.xz
>     cd p11-kit-${P11KIT_VERSION}
>     ./configure --prefix=${PREFIX}/gnutls --disable-trust-module
> --enable-debug=yes --without-bash-completion
>     make -j$(nproc)
>     make install
>     cd ..

> worked perfectly, building GnuTLS with
[...]

Hello,

You have installed p11-kit into a set of directories which
* are not scanned by pkgconf by default (/usr/gnutls/lib/pkgconfig/),
* whose header subdir are not in the preprocessor's default search path
  (/usr/gnutls/include) and
* whose lib subdir is neither in the compiler/linker's search-path
* nor in the runtime dynamic linker's search-path (/usr/gnutls/lib/)

One can do strange stuff like this but it is completely unrelated to
gnutls how to deal with this. (e.g. static linking, rpath, modifying the
pc file, symlink farm, ...) 

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Gnutls-help mailing list