HDFS-8922. Link the native_mini_dfs test library with libdl, since IBM Java requires it (Ayappan via Colin P. McCabe)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/7642f64c Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/7642f64c Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/7642f64c Branch: refs/heads/HDFS-7240 Commit: 7642f64c24961d2b4772591a0957e2699162a083 Parents: fc07464 Author: Colin Patrick Mccabe <cmcc...@cloudera.com> Authored: Thu Aug 20 13:57:32 2015 -0700 Committer: Colin Patrick Mccabe <cmcc...@cloudera.com> Committed: Thu Aug 20 13:57:32 2015 -0700 ---------------------------------------------------------------------- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt | 1 + 2 files changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/7642f64c/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index fad2a867..dcc5d58 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -1191,6 +1191,9 @@ Release 2.8.0 - UNRELEASED HDFS-8908. TestAppendSnapshotTruncate may fail with IOException: Failed to replace a bad datanode. (Tsz Wo Nicholas Sze via yliu) + HDFS-8922. Link the native_mini_dfs test library with libdl, since IBM Java + requires it (Ayappan via Colin P. McCabe) + Release 2.7.2 - UNRELEASED INCOMPATIBLE CHANGES http://git-wip-us.apache.org/repos/asf/hadoop/blob/7642f64c/hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt b/hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt index b4a3b40..2f8620b 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt @@ -144,6 +144,7 @@ add_library(native_mini_dfs ) target_link_libraries(native_mini_dfs ${JAVA_JVM_LIBRARY} + ${LIB_DL} ${OS_LINK_LIBRARIES} )