Hi,

I am using stable-1.3.x branch and I did a build using the below options

cmake . -DPARQUET_BUILD_TESTS=Off -DCMAKE_BUILD_TYPE=Release
make

However when using the libparquet.so, I get the below error

Undefined symbols for architecture x86_64:
  "_TLSv1_1_method", referenced from:

apache::thrift::transport::SSLContext::SSLContext(apache::thrift::transport::SSLProtocol
const&) in TSSLSocket.cpp.o
  "_TLSv1_2_method", referenced from:

apache::thrift::transport::SSLContext::SSLContext(apache::thrift::transport::SSLProtocol
const&) in TSSLSocket.cpp.o
ld: symbol(s) not found for architecture x86_64

However after installing thrift manually. I ran with the below cmake
options and everything worked.

cmake . -DPARQUET_BUILD_TESTS=Off -DCMAKE_BUILD_TYPE=Release
-DTHRIFT_INCLUDE_DIR=/usr/local/Cellar/thrift/0.10.0/include
-DTHRIFT_STATIC_LIB=/usr/local/Cellar/thrift/0.10.0/lib/libthrift.a
-DTHRIFT_COMPILER=/usr/local/bin/thrift
make

Any thoughts on why the first scenario failed?

- Rahul

Reply via email to