[Swan-dev] Libreswan installation

Paul Wouters paul at nohats.ca
Tue Dec 1 00:40:56 UTC 2020


On Mon, 30 Nov 2020, Balaji Thoguluva wrote:

> I am trying to install Libreswan on a Linux machine by building the source code.
> 
> This is the system details on which I am installing.
> 
> Linux dev-anvil-vm 3.8.13-16.2.1.el6uek.x86_64 #1 SMP Thu Nov 7 17:01:44 PST 2013 x86_64 x86_64 x86_64 GNU/Linux
> 
> Attached is the output of "make all". It results in an error.

cc1: warnings being treated as errors
/home/acme/Tools/libreswan-4.1/lib/libswan/secrets.c: In function ‘RSA_sign_hash’:
/home/acme/Tools/libreswan-4.1/lib/libswan/secrets.c:319: error: implicit declaration of function ‘PK11_SignWithMechanism’
/home/acme/Tools/libreswan-4.1/lib/libswan/secrets.c:319: error: nested extern declaration of ‘PK11_SignWithMechanism’

PK11_SignWithMechanism() was added to nss 3.22. It looks like your nss
version is too old ?

It might be that libreswan 3.29 and older don't use PK11_SignWithMechanism() so you could try
an older version, but obviously it is better to see about upgrading nss.

Paul


More information about the Swan-dev mailing list