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 C747BDBE0 for ; Tue, 23 Oct 2012 12:01:14 +0000 (UTC) Received: (qmail 57130 invoked by uid 500); 23 Oct 2012 12:01:14 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 56957 invoked by uid 500); 23 Oct 2012 12:01:14 -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 56943 invoked by uid 99); 23 Oct 2012 12:01:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2012 12:01:14 +0000 Date: Tue, 23 Oct 2012 12:01:13 +0000 (UTC) From: "Radim Kolar (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <171811312.15509.1350993674045.JavaMail.jiratomcat@arcas> In-Reply-To: <1764100883.11627.1349741643045.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (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:all-tabpanel ] Radim Kolar updated HADOOP-8901: -------------------------------- Attachment: freebsd-so.txt fix for finding libraries on freebsd. Tested and it works with both zlib and snappy. > 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 > Fix For: 3.0.0, 2.0.3-alpha > > Attachments: freebsd-so.txt, HADOOP-8901.001.patch, HADOOP-8901.002.patch, HADOOP-8901.003.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. > Thanks to Brandon Vargo for reporting this bug. -- 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