Eureka!

After a few more hours of trial and error I managed to get it working.

However, the `-lpthread` in OPENSSL_LIBS is ignored. I checked the config.log,
 but it wasn't added to the linker command. But adding it to LIBS solved the
issue.

This is the command that finally worked:

./configure [snip] --with-openssl=/usr/local/ssl-1.1.1 [snip]
CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib LIBS="-lpthread"
OPENSSL_LIBS="-L/usr/local/ssl-1.1.1/lib -l:libssl.a -l:libcrypto.a -ldl
-lpthread" OPENSSL_CFLAGS="-I/usr/local/ssl-1.1.1/include"

I will also update the bug, so that people have this info on file as a 
reference.

Cheers,
  K. C.

-- 
regards Helmut K. C. Tessarek              KeyID 0x172380A011EF4944
Key fingerprint = 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944

/*
   Thou shalt not follow the NULL pointer for chaos and madness
   await thee at its end.
*/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to