> сделай grep -R SSLv23_client_method /usr/local/openssl по всем undefined reference, найдешь
> либы, подсунешь их в последнюю команду сборки -lxxx спасибо за ответ, сделал как ты сказал
grep -R SSLv23_client_method /usr/local/openssl
куча манов
Binary file /usr/local/openssl/bin/openssl matches
Binary file /usr/local/openssl/lib/libssl.so.1.0.0 matches
Binary file /usr/local/openssl/lib/libssl.a matches
Binary file /usr/local/openssl/lib/libssl.so matches
/usr/local/openssl/include/openssl/ssl.h:const SSL_METHOD *SSLv23_client_method(void); /* Negotiate highest available
grep -R SSL_load_error_strings /usr/local/openssl
куча манов
Binary file /usr/local/openssl/bin/openssl matches
Binary file /usr/local/openssl/lib/libssl.so.1.0.0 matches
Binary file /usr/local/openssl/lib/libssl.a matches
Binary file /usr/local/openssl/lib/libssl.so matches
/usr/local/openssl/include/openssl/ssl.h:void SSL_load_error_strings(void);
grep -R SSL_library_init /usr/local/openssl
куча манов
Binary file /usr/local/openssl/bin/openssl matches
Binary file /usr/local/openssl/lib/libssl.so.1.0.0 matches
Binary file /usr/local/openssl/lib/libssl.a matches
Binary file /usr/local/openssl/lib/libssl.so matches
/usr/local/openssl/include/openssl/ssl.h:# define OpenSSL_add_ssl_algorithms() SSL_library_init()
/usr/local/openssl/include/openssl/ssl.h:# define SSLeay_add_ssl_algorithms() SSL_library_init()
/usr/local/openssl/include/openssl/ssl.h:int SSL_library_init(void);
grep -R SSL_state /usr/local/openssl
куча манов
Binary file /usr/local/openssl/bin/openssl matches
Binary file /usr/local/openssl/lib/libssl.so.1.0.0 matches
Binary file /usr/local/openssl/lib/libssl.a matches
Binary file /usr/local/openssl/lib/libssl.so matches
/usr/local/openssl/include/openssl/ssl.h:# define SSL_get_state(a) SSL_state(a)
/usr/local/openssl/include/openssl/ssl.h:# define SSL_is_init_finished(a) (SSL_state(a) == SSL_ST_OK)
/usr/local/openssl/include/openssl/ssl.h:# define SSL_in_init(a) (SSL_state(a)&SSL_ST_INIT)
/usr/local/openssl/include/openssl/ssl.h:# define SSL_in_before(a) (SSL_state(a)&SSL_ST_BEFORE)
/usr/local/openssl/include/openssl/ssl.h:# define SSL_in_connect_init(a) (SSL_state(a)&SSL_ST_CONNECT)
/usr/local/openssl/include/openssl/ssl.h:# define SSL_in_accept_init(a) (SSL_state(a)&SSL_ST_ACCEPT)
/usr/local/openssl/include/openssl/ssl.h:const char *SSL_state_string(const SSL *s);
/usr/local/openssl/include/openssl/ssl.h:const char *SSL_state_string_long(const SSL *s);
/usr/local/openssl/include/openssl/ssl.h:int SSL_state(const SSL *ssl);
"найдешь либы, подсунешь их в последнюю команду сборки -lxxx "
извини, можешь поподробнее