Browse Source

HDFS-8922. Link the native_mini_dfs test library with libdl, since IBM Java requires it (Ayappan via Colin P. McCabe)

(cherry picked from commit 7642f64c24961d2b4772591a0957e2699162a083)
Colin Patrick Mccabe 10 năm trước cách đây
mục cha
commit
a0450b96a2

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -847,6 +847,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

+ 1 - 0
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}
 )