Running libhdfs tests in mac fails ---------------------------------- Key: HDFS-3296 URL: https://issues.apache.org/jira/browse/HDFS-3296 Project: Hadoop HDFS Issue Type: Bug Reporter: Amareshwari Sriramadasu
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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira