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 00916932D for ; Fri, 2 Mar 2012 17:02:22 +0000 (UTC) Received: (qmail 19062 invoked by uid 500); 2 Mar 2012 17:02:21 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 19011 invoked by uid 500); 2 Mar 2012 17:02:21 -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 18922 invoked by uid 99); 2 Mar 2012 17:02:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 17:02:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 17:02:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 084EA5D7E for ; Fri, 2 Mar 2012 17:01:58 +0000 (UTC) Date: Fri, 2 Mar 2012 17:01:58 +0000 (UTC) From: "Eugene Koontz (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <960589706.12635.1330707718035.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <845519473.12620.1330707478067.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-8133) upgrade commons-daemon.version in hadoop-project/pom.xml from 1.0.3 to 1.0.5 to avoid jsvc / libcap.so linking problem MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13221052#comment-13221052 ] Eugene Koontz commented on HADOOP-8133: --------------------------------------- See also https://issues.apache.org/jira/secure/IssueNavigator!executeAdvanced.jspa?jqlQuery=%28summary+~+%27libcap%27+OR+summary+~+%27libcap.%27%29+AND+project%3D%27DAEMON%27&runQuery=true&clear=true > upgrade commons-daemon.version in hadoop-project/pom.xml from 1.0.3 to 1.0.5 to avoid jsvc / libcap.so linking problem > ---------------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-8133 > URL: https://issues.apache.org/jira/browse/HADOOP-8133 > Project: Hadoop Common > Issue Type: Bug > Components: build, native > Affects Versions: 0.24.0 > Reporter: Eugene Koontz > Attachments: HADOOP-8133.patch > > > On several recent Linux distributions (tested Ubuntu 9.04, RHEL 6.2, Amazon Linux AMI release 2011.09), there is no libcap.so.1. With commons-daemon 1.0.3, the current version selected by {{hadoop-project/pom.xml}}, this causes a linking error: > {code} > $ wget http://archive.apache.org/dist/commons/daemon/binaries/1.0.3/linux/commons-daemon-1.0.3-bin-linux-x86_64.tar.gz > $ tar xfz commons-daemon-1.0.3-bin-linux-x86_64.tar.gz > $ ldd jsvc > linux-vdso.so.1 => (0x00007ffff43cc000) > libdl.so.2 => /lib64/libdl.so.2 (0x00007f9cbbeee000) > libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9cbbcd2000) > libcap.so.1 => not found > libc.so.6 => /lib64/libc.so.6 (0x00007f9cbb930000) > /lib64/ld-linux-x86-64.so.2 (0x00007f9cbc0fb000) > {code} > The same problem also occurs with 1.0.4, but 1.0.5 doesn't have the problem: > {code} > $ wget http://archive.apache.org/dist/commons/daemon/binaries/1.0.5/linux/commons-daemon-1.0.5-bin-linux-x86_64.tar.gz > $ tar xfz commons-daemon-1.0.5-bin-linux-x86_64.tar.gz > $ ldd jsvc > linux-vdso.so.1 => (0x00007fff157ff000) > libdl.so.2 => /lib64/libdl.so.2 (0x00007f9e14778000) > libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9e1455c000) > libcap.so.2 => /lib64/libcap.so.2 (0x00007f9e14357000) > libc.so.6 => /lib64/libc.so.6 (0x00007f9e13fb6000) > /lib64/ld-linux-x86-64.so.2 (0x00007f9e14985000) > libattr.so.1 => /lib64/libattr.so.1 (0x00007f9e13db2000) > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira