Return-Path: X-Original-To: apmail-mesos-issues-archive@minotaur.apache.org Delivered-To: apmail-mesos-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 06FFA10C4F for ; Wed, 18 Mar 2015 00:17:39 +0000 (UTC) Received: (qmail 35124 invoked by uid 500); 18 Mar 2015 00:17:38 -0000 Delivered-To: apmail-mesos-issues-archive@mesos.apache.org Received: (qmail 35090 invoked by uid 500); 18 Mar 2015 00:17:38 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 35078 invoked by uid 99); 18 Mar 2015 00:17:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2015 00:17:38 +0000 Date: Wed, 18 Mar 2015 00:17:38 +0000 (UTC) From: "James Peach (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MESOS-1754) Mesos static library has undefined symbols from 3rd party deps MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14366369#comment-14366369 ] James Peach commented on MESOS-1754: ------------------------------------ Can libtool be relied upon not to reorder this? > Mesos static library has undefined symbols from 3rd party deps > -------------------------------------------------------------- > > Key: MESOS-1754 > URL: https://issues.apache.org/jira/browse/MESOS-1754 > Project: Mesos > Issue Type: Bug > Affects Versions: 0.20.0 > Reporter: Vinod Kone > > Looks like the static libmesos library that we build is missing some symbols from 3rd party deps (e.g, GLOG, ZooKeeper). I suspect this has to do with the order of libraries defined on the linker command line. > {code} > zookeeper_init symbol is present in .so but not in .a. > $ nm libmesos.so | grep zookeeper_init > 00000000030519f0 T zookeeper_init > $ nm libmesos.a | grep zookeeper_init > nm: libleveldb.a: File format not recognized > U zookeeper_init > Same with google::InstallFailureSignalHandler. > $ nm libmesos.so | grep InstallFailureSignalHandler > 000000000301901d T _ZN6google27InstallFailureSignalHandlerEv > $ nm libmesos.a | grep InstallFailureSignalHandler > nm: libleveldb.a: File format not recognized > U _ZN6google27InstallFailureSignalHandlerEv > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)