Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 3EB279856 for ; Tue, 9 Oct 2012 00:32:04 +0000 (UTC) Received: (qmail 744 invoked by uid 500); 9 Oct 2012 00:32:03 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 687 invoked by uid 500); 9 Oct 2012 00:32:03 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 604 invoked by uid 99); 9 Oct 2012 00:32:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 00:32:03 +0000 Date: Tue, 9 Oct 2012 00:32:03 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <555294911.11721.1349742723606.JavaMail.jiratomcat@arcas> In-Reply-To: <1764100883.11627.1349741643045.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HADOOP-8901) GZip and Snappy support may not work without unversioned libraries 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/HADOOP-8901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471989#comment-13471989 ] Todd Lipcon commented on HADOOP-8901: ------------------------------------- This seems to incorporate HADOOP-6069, which, the first time it was floated, had some objections. So rather than sneaking that change into this bug fix, we should have this just be a fix for the cmake regression, and use HADOOP-6069 if we want to make libz non-dynamic. > GZip and Snappy support may not work without unversioned libraries > ------------------------------------------------------------------ > > Key: HADOOP-8901 > URL: https://issues.apache.org/jira/browse/HADOOP-8901 > Project: Hadoop Common > Issue Type: Bug > Components: native > Affects Versions: 2.0.3-alpha > Reporter: Colin Patrick McCabe > Assignee: Colin Patrick McCabe > Priority: Minor > Attachments: HADOOP-8901.001.patch > > > Currently, we use {{dlopen}} to open {{libz.so}} and {{libsnappy.so}}, to get Gzip and Snappy support, respectively. > However, this is not correct; we should be dlopening {{libsnappy.so.1}} instead. The versionless form of the shared library is not commonly installed except by development packages. Also, we may run into subtle compatibility problems if a new version of libsnappy comes out. > For libz, I believe we should simply link normally against it, rather than loading it using {{dlopen}}. It is part of the base Linux install for every distribution I'm aware of, so let's not overcomplicate things. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira