Generating a new keypair through GnuPG 2.x in Ubuntu 16.0.4

Szczepan Zalega | Nitrokey szczepan at
Tue Oct 17 21:24:22 CEST 2017

On 10/15/2017 11:55 PM, vedaal at wrote:
> OK,
> did this, and downloaded all of the dependent libraries to ./configure  
> gnupg-2.2.1
> (...)
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include
> -I/usr/local/include -g -O2 -fvisibility=hidden -Wall -Wno-pointer-sign
> -Wpointer-arith -MT visibility.lo -MD -MP -MF .deps/visibility.Tpo -c
> visibility.c  -fPIC -DPIC -o .libs/visibility.o
> In file included from ntbtls-int.h:251:0,
>                  from visibility.h:24,
>                  from visibility.c:24:
> context.h:24:18: fatal error: zlib.h: No such file or directory


Apparently you do not have zlib's headers. apt-file says you can find
them on Ubuntu in package: zlib1g-dev (/usr/include/zlib.h).

Best regards,

More information about the Gnupg-users mailing list