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 7C66B11D38 for ; Mon, 30 Jun 2014 05:41:25 +0000 (UTC) Received: (qmail 21827 invoked by uid 500); 30 Jun 2014 05:41:25 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 21775 invoked by uid 500); 30 Jun 2014 05:41:25 -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 21597 invoked by uid 99); 30 Jun 2014 05:41:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jun 2014 05:41:24 +0000 Date: Mon, 30 Jun 2014 05:41:24 +0000 (UTC) From: "Dmitry Sivachenko (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-10764) Unable to build hadoop-2.2.0 under FreeBSD-10 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-10764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14047398#comment-14047398 ] Dmitry Sivachenko commented on HADOOP-10764: -------------------------------------------- > If you have to stick to version 2.2.0, then.... Isn't 2.2.0 is the stable branch of Hadoop-2 I should stick to? What branch will become next -stable release? 2.4.X? > Unable to build hadoop-2.2.0 under FreeBSD-10 > --------------------------------------------- > > Key: HADOOP-10764 > URL: https://issues.apache.org/jira/browse/HADOOP-10764 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 2.2.0 > Reporter: Dmitry Sivachenko > > FreeBSD does not have libdl.so (dlopen() et al are in libc). So the buld fails: > [exec] /usr/bin/cc -fPIC -g -Wall -O2 -D_REENTRANT -D_GNU_SOURCE -D_LARGE > FILE_SOURCE -D_FILE_OFFSET_BITS=64 -shared -Wl,-soname,libhdfs.so.0.0.0 -o tar > get/usr/local/lib/libhdfs.so.0.0.0 CMakeFiles/hdfs.dir/main/native/libhdfs/excep > tion.c.o CMakeFiles/hdfs.dir/main/native/libhdfs/jni_helper.c.o CMakeFiles/hdfs. > dir/main/native/libhdfs/hdfs.c.o /usr/local/openjdk7/jre/lib/amd64/server/libjvm.so -ldl -lpthread -Wl,-rpath,/usr/local/openjdk7/jre/lib/amd64/server > [exec] *** Error code 1 > The solution is not to use "-ldl" under FreeBSD at all. -- This message was sent by Atlassian JIRA (v6.2#6252)