[Swan-dev] Git Breakage - blapi.h (fwd)

António Silva asilva at wirelessmundi.com
Wed Sep 19 10:36:23 UTC 2018


i've got the same error on debian jessie:

/home/antonio/libreswan-3.26/programs/pluto/keys.c:75:19: fatal error: 
blapi.h: No such file or directory
  #include <blapi.h>

But i couldn't find a workaround... this headers are not present on 
debian libnss3-dev:


There is a discussion about the missing headers for the pkg nss-pem:


Not sure if they will be included...Currently i couldn't find any pkg 
with those headers.

i try to copy the missing headers from the source pkg nss, but no luck.. 
i got a new error when compiling..

/usr/bin/ld: cannot find -lfreebl
collect2: error: ld returned 1 exit status

any idea how to compile it on debian jessie or is not supported?

I also had the issue:

libreswan-3.26/lib/libswan/ike_alg_dh.c:323:13: error: 
'SEC_OID_CURVE25519' undeclared here (not in a function)

found the solution in: 

echo "USE_DH31=false" >> Makefile.inc.local


On 16/09/2018 20:34, Paul Wouters wrote:
> this might be an issue on debian/ubuntu ?
> Paul
> ---------- Forwarded message ----------
> Date: Sat, 15 Sep 2018 23:35:30
> From: Reuben Farrelly <reuben-libreswan at reub.net>
> To: Paul Wouters <paul at nohats.ca>
> Subject: Re: Git Breakage - blapi.h
> I've 'hacked' around this by now by symlinking:
> lightning /usr/include/nss # ls -la blapi.h
> lrwxrwxrwx 1 root root 15 Sep 16 13:19 blapi.h -> private/blapi.h
> lightning /usr/include/nss # ls -la alghmac.h
> lrwxrwxrwx 1 root root 17 Sep 16 13:21 alghmac.h -> private/alghmac.h
> lightning /usr/include/nss #
> It's not ideal but it allows me to build libreswan -git again. There 
> are some suggestions that these could be private headers but other 
> cases where distributions have moved them into more normal include 
> paths regardless.
> Reuben
> _______________________________________________
> Swan-dev mailing list
> Swan-dev at lists.libreswan.org
> https://lists.libreswan.org/mailman/listinfo/swan-dev

Saludos / Regards / Cumprimentos
António Silva

More information about the Swan-dev mailing list