Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Compile Hadoop 1.0.3 native library failed on mac 10.7.4
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Yongwei Xing  
View profile  
 More options Jun 9 2012, 12:21 am
From: Yongwei Xing <jdxyw2...@gmail.com>
Date: Sat, 9 Jun 2012 12:21:59 +0800
Local: Sat, Jun 9 2012 12:21 am
Subject: Compile Hadoop 1.0.3 native library failed on mac 10.7.4

Hello

I am trying to compile the hadoop native library on mac os.

My Mac OS X is 10.7.4. My Hadoop is 1.0.3

I have installed the zlib 1.2.7 and lzo 2.0.6 like below:

./configure -shared --prefix=/usr/local/[zlib/lzo]

make

make install

I check the /usr/local/zlib-1.2.7 and /usr/local/lzo-2.0.6, the header
files and libraries are there.

I change the .bash_profile like below

export
C_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/local/zlib-1.2.7/include:/usr/local/lzo -2.06/include

export
LIBRARY_PATH=$LIBRARY_PATH:/usr/local/zlib-1.2.7/lib:/usr/local/lzo-2.06/li b

export CFLAGS="-arch x86_64"

I switch to hadoop folder and run

ant -Dcompile.native=true compile-native

I got such information like below

[exec] checking stddef.h usability... yes

     [exec] checking stddef.h presence... yes

     [exec] checking for stddef.h... yes

     [exec] checking jni.h usability... yes

     [exec] checking jni.h presence... yes

     [exec] checking for jni.h... yes

     [exec] checking zlib.h usability... yes

     [exec] checking zlib.h presence... yes

     [exec] checking for zlib.h... yes

     [exec] checking Checking for the 'actual' dynamic-library for '-lz'...

     [exec] configure: error: Can't find either 'objdump' or 'ldd' to
compute the dynamic library for '-lz'

BUILD FAILED

Does anyone meet this issue before?

Best Regards,

--


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mapred Learn  
View profile  
 More options Jun 14 2012, 2:35 am
From: Mapred Learn <mapred.le...@gmail.com>
Date: Wed, 13 Jun 2012 23:35:55 -0700
Local: Thurs, Jun 14 2012 2:35 am
Subject: Re: Compile Hadoop 1.0.3 native library failed on mac 10.7.4

Hi Yong,
Could you send steps to set it up on MAC ?

Looks like there's no documentation about it.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »