Ver código fonte

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

Colin Patrick Mccabe 10 anos atrás
pai
commit
7642f64c24

+ 3 - 0
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

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