You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by drystan <dr...@gmail.com> on 2017/03/11 02:34:03 UTC
undefined reference to `OPENSSL_sk_pop_free'
Hello,
I am trying to compile thrift from source and I am getting the following
issue.
/hs2client/thirdparty/thrift-0.10.0/lib/cpp/.libs/libthrift-0.10.0.so:
undefined reference to `OPENSSL_sk_pop_free'
/hs2client/thirdparty/thrift-0.10.0/lib/cpp/.libs/libthrift-0.10.0.so:
undefined reference to `OPENSSL_sk_value'
/hs2client/thirdparty/thrift-0.10.0/lib/cpp/.libs/libthrift-0.10.0.so:
undefined reference to `OPENSSL_sk_num'
/hs2client/thirdparty/thrift-0.10.0/lib/cpp/.libs/libthrift-0.10.0.so:
undefined reference to `OPENSSL_init_ssl'
/hs2client/thirdparty/thrift-0.10.0/lib/cpp/.libs/libthrift-0.10.0.so:
undefined reference to `TLS_method'
/hs2client/thirdparty/thrift-0.10.0/lib/cpp/.libs/libthrift-0.10.0.so:
undefined reference to `SSL_CTX_set_options'
I used the following ./configure options
--with-openssl=<somedir>/hs2client/thirdparty/openssl-1.1.0e
--without-lua --without-csharp --without-php --without-nodejs
I confirmed that the symbols were in libssl.so eg 'U
OPENSSL_sk_pop_free@@OPENSSL_1_1_0'
I am not sure why it is still failing with this message
Any help would be useful.
Many thanks