You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Matt Foley (JIRA)" <ji...@apache.org> on 2011/07/20 00:28:58 UTC

[jira] [Created] (HADOOP-7477) Native builds (compile-core-native) fail on Mac OSX due to dependency on 'ldd' or 'objdump'

Native builds (compile-core-native) fail on Mac OSX due to dependency on 'ldd' or 'objdump'
-------------------------------------------------------------------------------------------

                 Key: HADOOP-7477
                 URL: https://issues.apache.org/jira/browse/HADOOP-7477
             Project: Hadoop Common
          Issue Type: Bug
          Components: build
    Affects Versions: 0.20.205.0, 0.23.0
         Environment: Mac OSX build environment
            Reporter: Matt Foley
            Assignee: Giridharan Kesavan


When trying to build the patch for HDFS-7432, which is a NativeIO implementation for chmod, it became clear that building the "compile-core-native" target doesn't work on Mac, apparently due to:
{{[exec] checking zlib.h presence... configure: error: Can't find either 'objdump' or 'ldd' to compute the dynamic library for '-lz'}}

These utility programs are not present on Mac.  One source suggests using {{otool -L}} instead.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira