Openssl 3.0.0

Julien ÉLIE julien at
Wed Sep 8 19:41:16 UTC 2021

Hi The Doctor,

> Openssl 3 is out.  Julien I believe you said
> we should be good to go.

I had already checked with alpha5, alpha8 and beta1 releases of OpenSSL 
3.0.0 and it worked fine without any changes in INN source code. was generated in <openssl>/lib.

I've just checked with the final release, and it appears is 
now generated in <openssl>/lib64 on my system.

Yet configure does not see that, and wrongly puts in
SSL_LDFLAGS     = -L/home/iulius/work/openssl-3.0.0/lib
which of course breaks the build.

If manually changed to
SSL_LDFLAGS     = -L/home/iulius/work/openssl-3.0.0/lib64
the build works.

So OpenSSL 3.0.0 is OK.

Russ, is there a reason why lib-pathname.m4 checks for /usr/lib32 or 
/usr/lib64 only?  I suggest to also add a check for /lib32 or /lib64.
With the following patch, configure correctly finds 
Note that I have /lib64 but not /usr/lib64 on an (old) Jessie Debian 
system.  Seems like newer versions have both.

--- m4/lib-pathname.m4	(révision 10563)
+++ m4/lib-pathname.m4	(copie de travail)
@@ -39,9 +39,9 @@
- AS_IF([test "$ac_cv_sizeof_long" -eq 4 && test -d /usr/lib32],
+ AS_IF([test "$ac_cv_sizeof_long" -eq 4 && { test -d /usr/lib32 || test 
-d /lib32 ; }],
-     [AS_IF([test "$ac_cv_sizeof_long" -eq 8 && test -d /usr/lib64],
+     [AS_IF([test "$ac_cv_sizeof_long" -eq 8 && { test -d /usr/lib64 || 
test -d /lib64 ; }],

  dnl Set VARIABLE to -LPREFIX/lib{,32,64} or -LPREFIX/lib{,32,64}/SUFFIX as

Julien ÉLIE

« La vérité pure et simple est très rarement pure et jamais simple. »
   (Oscar Wilde)

More information about the inn-workers mailing list