[ https://issues.apache.org/jira/browse/THRIFT-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012758#comment-14012758 ]
Denis Samoylov commented on THRIFT-2515: ---------------------------------------- [~mwinkelmann], i had this problem yesterday. and the following steps helped: >brew install openssl >/usr/local/opt/openssl/bin/c_rehash >rm /usr/bin/openssl >ln -s /usr/local/Cellar/openssl/1.0.1g/bin/openssl /usr/local/bin (taking in account that brew installed 1.0.1g) i had to close terminal window and reopen it >brew link --force openssl check that you see "Linking /usr/local/Cellar/openssl/1.0.1g... 1139 symlinks created" for some unknown reason when i executed this --force before unlinking MacOS openssl version it did not work properly/ >openssl version -a OpenSSL 1.0.1g 7 Apr 2014 and thrift build is OK > TLS Method error during make > ---------------------------- > > Key: THRIFT-2515 > URL: https://issues.apache.org/jira/browse/THRIFT-2515 > Project: Thrift > Issue Type: Bug > Components: Build Process > Reporter: Mike Winkelmann > Assignee: Roger Meier > > Hi, > currently I have checked out the git repository in revision > 37042270ef670aad7b11c94e31bafc9d84092d76. I have checked out the repository > because in some forum thread I have read, that my error was resolved in the > git repo. > My Problem is, that I get following errors due the make process: > src/thrift/transport/TSSLSocket.cpp:73:24: error: use of undeclared > identifier 'TLSv1_1_method'; did you > mean 'TLSv1_method'? > ctx_ = SSL_CTX_new(TLSv1_1_method()); > ^~~~~~~~~~~~~~ > TLSv1_method > src/thrift/transport/TSSLSocket.cpp:77:24: error: use of undeclared > identifier 'TLSv1_2_method'; did you > mean 'TLSv1_method'? > ctx_ = SSL_CTX_new(TLSv1_2_method()); > ^~~~~~~~~~~~~~ > TLSv1_method > I have done following: > ./configure CXXFLAGS='-g -O2' > ./configure CFLAGS='-g -O2' > ./configure CPPFLAGS='-DDEBUG_MY_FEATURE' > make > Thereafter I have got these two errors. > Can someone help me and make a statement weather the bug is fixed ? > Thanks and regards -- This message was sent by Atlassian JIRA (v6.2#6252)