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 Dec 17, 2020
1 parent 8e6a087 commit d4f45be
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 d4f45be

Please sign in to comment.