[ 
https://issues.apache.org/jira/browse/HDFS-3296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14635691#comment-14635691
 ] 

Chris Nauroth commented on HDFS-3296:
-------------------------------------

We define {{<LD_LIBRARY_PATH>}} by appending to the existing 
{{LD_LIBRARY_PATH}} of the environment.  Similarly, {{<DYLD_LIBRARY_PATH>}} 
would need to append to the existing {{DYLD_LIBRARY_PATH}}.  Because of that 
difference, I don't think we can consolidate to a single property.  However, we 
probably could define a shared property in the {{<properties>}} section to 
reduce some of the duplication.  I'll do that in the next rev.

This is still blocked on figuring out failures in things like 
{{test_libhdfs_zerocopy}} on Mac.  There was some investigation related to this 
in HADOOP-11957, but it's not done yet.

> Running libhdfs tests in mac fails
> ----------------------------------
>
>                 Key: HDFS-3296
>                 URL: https://issues.apache.org/jira/browse/HDFS-3296
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: libhdfs
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Chris Nauroth
>         Attachments: HDFS-3296.001.patch
>
>
> Running "ant -Dcompile.c++=true -Dlibhdfs=true test-c++-libhdfs" on Mac fails 
> with following error:
> {noformat}
>      [exec] dyld: lazy symbol binding failed: Symbol not found: 
> _JNI_GetCreatedJavaVMs
>      [exec]   Referenced from: 
> /Users/amareshwari.sr/workspace/hadoop/build/c++/Mac_OS_X-x86_64-64/lib/libhdfs.0.dylib
>      [exec]   Expected in: flat namespace
>      [exec] 
>      [exec] dyld: Symbol not found: _JNI_GetCreatedJavaVMs
>      [exec]   Referenced from: 
> /Users/amareshwari.sr/workspace/hadoop/build/c++/Mac_OS_X-x86_64-64/lib/libhdfs.0.dylib
>      [exec]   Expected in: flat namespace
>      [exec] 
>      [exec] 
> /Users/amareshwari.sr/workspace/hadoop/src/c++/libhdfs/tests/test-libhdfs.sh: 
> line 122: 39485 Trace/BPT trap: 5       CLASSPATH=$HADOOP_CONF_DIR:$CLASSPATH 
> LD_PRELOAD="$LIB_JVM_DIR/libjvm.so:$LIBHDFS_INSTALL_DIR/libhdfs.so:" 
> $LIBHDFS_BUILD_DIR/$HDFS_TEST
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to