Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
fix(hdfs): fix 'libjvm.so not found' error (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyifan27 authored and hycdong committed Dec 28, 2020
1 parent a583cf2 commit 2b2be14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/dsn.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ function(dsn_setup_thirdparty_libs)
# libhdfs
find_package(JNI REQUIRED)
message (STATUS "JAVA_JVM_LIBRARY=${JAVA_JVM_LIBRARY}")
link_libraries(${JAVA_JVM_LIBRARY})

link_directories(${DSN_THIRDPARTY_ROOT}/lib)
link_directories(${DSN_THIRDPARTY_ROOT}/lib64)
Expand Down

0 comments on commit 2b2be14

Please sign in to comment.