Compiling Fetchmail 7 with OpenSSL 3

Dennis Putnam <[email protected]> Sun, 15 May 2022 17:20:09 -0400
Newsgroups gmane.mail.fetchmail.user
Message-ID <[email protected]>
After successfully installing OpenSSL 3.0.3 on my CentOS 7 system, I 
tried to compile fetchmail 7, It was cloned from gitlab. The compile 
failed with these messages:

undefined reference to `OpenSSL_version'
undefined reference to `OpenSSL_version_num'
undefined reference to `OPENSSL_sk_num'
undefined reference to `OPENSSL_sk_value'
undefined reference to `OPENSSL_sk_free'
undefined reference to `TLS_client_method'
undefined reference to `SSL_CTX_set_options'

I went to the OpenSSL forum to see what was wrong and got this reply:

*After checking the ssl.so library I observed Id don't define the 
function OpenSSL_version but into the header file opensslv.h you found a 
define that give you the version of your ssl library **
**# define OPENSSL_VERSION_NUMBER  0x101010cfL **
**# define OPENSSL_VERSION_TEXT    "OpenSSL 1.1.1l  24 Aug 2021" **
****
**To resolve your problem don’t call the method OpenSSL_version, but use 
directly the define in header file opensslv.h.*


I guess the implication is that the fetchmail source needs to be 
modified somewhere, right?

_______________________________________________
Fetchmail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fetchmail-users
OpenPGP_signature (application/pgp-signature, 203 B) - not displayed