Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 16F0B200C42 for ; Sat, 11 Mar 2017 04:53:10 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 15801160B82; Sat, 11 Mar 2017 03:53:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5F788160B79 for ; Sat, 11 Mar 2017 04:53:09 +0100 (CET) Received: (qmail 21277 invoked by uid 500); 11 Mar 2017 03:53:08 -0000 Mailing-List: contact dev-help@thrift.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@thrift.apache.org Delivered-To: mailing list dev@thrift.apache.org Received: (qmail 21265 invoked by uid 99); 11 Mar 2017 03:53:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Mar 2017 03:53:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 8753818F154 for ; Sat, 11 Mar 2017 03:53:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.652 X-Spam-Level: X-Spam-Status: No, score=0.652 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ib6ZDpIY0Vun for ; Sat, 11 Mar 2017 03:53:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id DC7135F252 for ; Sat, 11 Mar 2017 03:53:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E1E63E087E for ; Sat, 11 Mar 2017 03:53:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 81173243A8 for ; Sat, 11 Mar 2017 03:53:04 +0000 (UTC) Date: Sat, 11 Mar 2017 03:53:04 +0000 (UTC) From: "James E. King, III (JIRA)" To: dev@thrift.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (THRIFT-4112) undefined symbol MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 11 Mar 2017 03:53:10 -0000 [ https://issues.apache.org/jira/browse/THRIFT-4112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15906051#comment-15906051 ] James E. King, III commented on THRIFT-4112: -------------------------------------------- Please post the summary output from configure or attach it. My guess is it didn't find openssl properly. I've only tried 1.1.0c, I believe. > undefined symbol > ---------------- > > Key: THRIFT-4112 > URL: https://issues.apache.org/jira/browse/THRIFT-4112 > Project: Thrift > Issue Type: Bug > Components: Deployment > Affects Versions: 0.10.0 > Environment: Arch Linux x64 > Reporter: Drystan Mazur > > 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=/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' > There are some cases of the following in config.log > configure:23495: g++ -o conftest -g -O2 conftest.cpp -lrt -lpthread >&5 > conftest.cpp:23:0: warning: "BISON_VERSION" redefined > #define BISON_VERSION 3.0. > Unsure if it is related -- This message was sent by Atlassian JIRA (v6.3.15#6346)