From 7642f64c24961d2b4772591a0957e2699162a083 Mon Sep 17 00:00:00 2001 From: Colin Patrick Mccabe Date: Thu, 20 Aug 2015 13:57:32 -0700 Subject: [PATCH] HDFS-8922. Link the native_mini_dfs test library with libdl, since IBM Java requires it (Ayappan via Colin P. McCabe) --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt | 1 + 2 files changed, 4 insertions(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index fad2a86780..dcc5d58150 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 diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt b/hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt index b4a3b40c10..2f8620b6a5 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} )