HDFS includes and libraries NOT found when compiling spark xgboost with USE_HDFS on

The error info is as follow:
– Architecture: x64
– HDFS_LIB_PATHS: /lib/native
CMake Error at dmlc-core/cmake/Modules/FindHDFS.cmake:64 (message):
HDFS includes and libraries NOT found.(HDFS_INCLUDE_DIR-NOTFOUND,
HDFS_LIB-NOTFOUND)
Call Stack (most recent call first):
dmlc-core/CMakeLists.txt:32 (find_package)

But I can’t find any libhdfs anywhere。

Which operating system are you using?