Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 31581 invoked from network); 9 Oct 2007 19:34:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Oct 2007 19:34:19 -0000 Received: (qmail 37515 invoked by uid 500); 9 Oct 2007 19:34:07 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 37317 invoked by uid 500); 9 Oct 2007 19:34:06 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 37308 invoked by uid 99); 9 Oct 2007 19:34:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2007 12:34:06 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2007 19:34:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C0B6071420E for ; Tue, 9 Oct 2007 12:33:50 -0700 (PDT) Message-ID: <30510901.1191958430786.JavaMail.jira@brutus> Date: Tue, 9 Oct 2007 12:33:50 -0700 (PDT) From: "Joydeep Sen Sarma (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-2009) configure script for compiling hadoop native doesn't set lzo lib name correctly In-Reply-To: <13659683.1191876770805.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-2009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533465 ] Joydeep Sen Sarma commented on HADOOP-2009: ------------------------------------------- sorry - u were probably looking for this: checking for lzo/lzo1.h... yes checking Checking for the 'actual' dynamic-library for '-llzo2'... checking lzo/lzo1a.h usability... yes checking lzo/lzo1a.h presence... yes checking for lzo/lzo1a.h... yes checking Checking for the 'actual' dynamic-library for '-llzo2'... (cached) checking lzo/lzo1b.h usability... yes checking lzo/lzo1b.h presence... yes checking for lzo/lzo1b.h... yes checking Checking for the 'actual' dynamic-library for '-llzo2'... (cached) checking lzo/lzo1c.h usability... yes checking lzo/lzo1c.h presence... yes checking for lzo/lzo1c.h... yes checking Checking for the 'actual' dynamic-library for '-llzo2'... (cached) checking lzo/lzo1f.h usability... yes checking lzo/lzo1f.h presence... yes checking for lzo/lzo1f.h... yes checking Checking for the 'actual' dynamic-library for '-llzo2'... (cached) checking lzo/lzo1x.h usability... yes checking lzo/lzo1x.h presence... yes checking for lzo/lzo1x.h... yes checking Checking for the 'actual' dynamic-library for '-llzo2'... (cached) checking lzo/lzo1y.h usability... yes checking lzo/lzo1y.h presence... yes checking for lzo/lzo1y.h... yes checking Checking for the 'actual' dynamic-library for '-llzo2'... (cached) checking lzo/lzo1z.h usability... yes checking lzo/lzo1z.h presence... yes checking for lzo/lzo1z.h... yes checking Checking for the 'actual' dynamic-library for '-llzo2'... (cached) checking lzo/lzo2a.h usability... yes checking lzo/lzo2a.h presence... yes checking for lzo/lzo2a.h... yes checking Checking for the 'actual' dynamic-library for '-llzo2'... (cached) checking lzo/lzo_asm.h usability... yes checking lzo/lzo_asm.h presence... yes checking for lzo/lzo_asm.h... yes checking Checking for the 'actual' dynamic-library for '-llzo2'... (cached) checking for an ANSI C-conforming const... yes checking for memset... yes > configure script for compiling hadoop native doesn't set lzo lib name correctly > ------------------------------------------------------------------------------- > > Key: HADOOP-2009 > URL: https://issues.apache.org/jira/browse/HADOOP-2009 > Project: Hadoop > Issue Type: Bug > Components: build > Affects Versions: 0.13.1 > Environment: Fedora, amd64 > Reporter: Joydeep Sen Sarma > Assignee: Arun C Murthy > > Looks like this was already reported (but not resolved on the the list): http://tinyurl.com/2rwu6x > I would like to compile libhadoop on amd64/Fedora and everything seems kosher until I hit this compile error: > [exec] /home/jssarma/fbprojects/hadoop-0.13.1/src/native/src/org/apache/hadoop/io/compress/lzo/LzoCompressor.c:116: error: syntax error before ',' token > the line in question is: > // Load liblzo2.so > liblzo2 = dlopen(HADOOP_LZO_LIBRARY, RTLD_LAZY | RTLD_GLOBAL); > seems like this is being set by: > configure:#define HADOOP_LZO_LIBRARY ${ac_cv_libname_lzo2} > I tried executing the relevant part of configure by hand: > if test -z "`${CC} -o conftest conftest.c -llzo2 2>&1`"; then > if test ! -z "`which objdump`"; then > ac_cv_libname_lzo2="`objdump -p conftest | grep NEEDED | grep lzo2 | sed 's/\W*NEEDED\W*\(.*\)\W*$/\ > \"\1\"/'`" > This is not working on my system, since: > > objdump -p conftest | grep NEEDED > NEEDED libc.so.6 > So that would explain the compile error. Editing the configure script manually for now works. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.