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 E8F2F9AD3 for ; Mon, 19 Mar 2012 23:18:02 +0000 (UTC) Received: (qmail 47228 invoked by uid 500); 19 Mar 2012 23:18:02 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 47179 invoked by uid 500); 19 Mar 2012 23:18:02 -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 47165 invoked by uid 99); 19 Mar 2012 23:18:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2012 23:18:02 +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; Mon, 19 Mar 2012 23:18:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 52DE92945A for ; Mon, 19 Mar 2012 23:17:39 +0000 (UTC) Date: Mon, 19 Mar 2012 23:17:39 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1992137046.33639.1332199059340.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-6924) Build fails with non-Sun JREs due to different pathing to the operating system architecture shared libraries 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-6924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233011#comment-13233011 ] Hudson commented on HADOOP-6924: -------------------------------- Integrated in Hadoop-Common-trunk-Commit #1904 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1904/]) HADOOP-6924. Moved the entry in CHANGES.txt to the right place. (Revision 1302705) Result = SUCCESS ddas : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1302705 Files : * /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt > Build fails with non-Sun JREs due to different pathing to the operating system architecture shared libraries > ------------------------------------------------------------------------------------------------------------ > > Key: HADOOP-6924 > URL: https://issues.apache.org/jira/browse/HADOOP-6924 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 0.20.0, 0.20.1, 0.20.2, 0.21.0 > Environment: SLES 10, IBM Java 6 > Reporter: Stephen Watt > Attachments: 6924-1.patch, 6924-2.patch, HADOOP-6924-v2.patch, HADOOP-6924.patch, apjvmlibdir.m4 > > > The src/native/configure script used to build the native libraries has an environment variable called JNI_LDFLAGS which is set as follows: > JNI_LDFLAGS="-L$JAVA_HOME/jre/lib/$OS_ARCH/server" > This pathing convention to the shared libraries for the operating system architecture is unique to Oracle/Sun Java and thus on other flavors of Java the path will not exist and will result in a build failure with the following exception: > [exec] gcc -shared ../src/org/apache/hadoop/io/compress/zlib/.libs/ZlibCompressor.o ../src/org/apache/hadoop/io/compress/zlib/.libs/ZlibDecompressor.o -L/home/hadoop/Java-Versions/ibm-java-i386-60/jre/lib/x86/server -ljvm -ldl -m32 -m32 -Wl,-soname -Wl,libhadoop.so.1 -o .libs/libhadoop.so.1.0.0 > [exec] /usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -ljvm > [exec] collect2: ld returned 1 exit status -- 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