源码安装nebula-v3.1.0链接报错

  • nebula 版本:Nebula 3.1.0
  • 部署方式: 单机
  • 安装方式:源码编译存算合并版本
  • 是否为线上版本:Y
  • 操作系统 : CentOS Linux release 7.9.2009 (Core)

cmake信息

cmake -DCMAKE_INSTALL_PREFIX=/usr/local/nebula -DENABLE_TESTING=OFF -DENABLE_STANDALONE_VERSION=on -DCMAKE_BUILD_TYPE=Release ..
-- The C compiler identification is GNU 9.3.1
-- The CXX compiler identification is GNU 9.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/rh/devtoolset-9/root/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/rh/devtoolset-9/root/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
>>>> Options of Nebula Graph <<<<
-- ENABLE_ASAN                     : OFF (Build with AddressSanitizer)
-- ENABLE_BREAKPAD                 : OFF (Whether to enable breakpad)
-- ENABLE_CCACHE                   : ON (Use ccache to speed up compiling)
-- ENABLE_CLANG_TIDY               : OFF (Enable clang-tidy if present)
-- ENABLE_COMPRESSED_DEBUG_INFO    : ON (Compress debug info to reduce binary size)
-- ENABLE_CONSOLE_COMPILATION      : OFF (Enable nebula-console compilation)
-- ENABLE_COVERAGE                 : OFF (Build with coverage report)
-- ENABLE_CREATE_GIT_HOOKS         : ON (Enable create git hooks.)
-- ENABLE_FRAME_POINTER            : OFF (Build with frame pointer)
-- ENABLE_FUZZY_TESTING            : OFF (Enable Fuzzy tests)
-- ENABLE_GDB_SCRIPT_SECTION       : OFF (Add .debug_gdb_scripts section)
-- ENABLE_INCLUDE_WHAT_YOU_USE     : OFF (Enable include-what-you-use find  nouse include files)
-- ENABLE_JEMALLOC                 : ON (Use jemalloc as memory allocator)
-- ENABLE_PACKAGE_TAR              : OFF (Enable package artifacts to tar.)
-- ENABLE_PACK_ONE                 : ON (Whether to package into one)
-- ENABLE_PIC                      : OFF (Build with -fPIC)
-- ENABLE_STANDALONE_VERSION       : on (Enable standalone version build)
-- ENABLE_STATIC_ASAN              : OFF (Statically link against libasan)
-- ENABLE_STATIC_UBSAN             : OFF (Statically link against libubsan)
-- ENABLE_STRICT_ALIASING          : OFF (Build with -fstrict-aliasing)
-- ENABLE_TESTING                  : OFF (Build unit tests)
-- ENABLE_TSAN                     : OFF (Build with ThreadSanitizer)
-- ENABLE_UBSAN                    : OFF (Build with UndefinedBehaviourSanitizer)
-- ENABLE_VERBOSE_BISON            : OFF (Enable Bison to report state)
-- ENABLE_WERROR                   : ON (Regard warnings as errors)
-- CMAKE_BUILD_TYPE                : Release (Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel ...)
-- CMAKE_INSTALL_PREFIX            : /usr/local/nebula (Install path prefix, prepended onto install directories.)
-- CMAKE_CXX_STANDARD              : 17
-- CMAKE_CXX_COMPILER              : /opt/rh/devtoolset-9/root/usr/bin/c++ (CXX compiler)
-- CMAKE_CXX_COMPILER_ID           : GNU
-- NEBULA_USE_LINKER               : bfd (Linker to be used)
CMake Warning at cmake/nebula/CompilerLauncher.cmake:28 (message):
  ccache is enabled but was not found.  Not using it
Call Stack (most recent call first):
  CMakeLists.txt:48 (include)


>>>> Configuring third party for 'Nebula Graph' <<<<
-- Downloading prebuilt third party automatically...
-- cxx_cmd: /opt/rh/devtoolset-9/root/usr/bin/c++ -D_GLIBCXX_USE_CXX11_ABI=1
Downloading vesoft-third-party-3.0-x86_64-libc-2.17-gcc-9.3.0-abi-98.sh...
Nebula Third Party has been installed to /home/wenzhou/nebula-3.2.0/build/third-party/install
-- NEBULA_THIRDPARTY_ROOT          : /home/wenzhou/nebula-3.2.0/build/third-party/install
-- Build info of nebula third party:
Package         : Nebula Third Party
Version         : 3.0
Date            : Tue Jun 14 08:10:27 UTC 2022
glibc           : 2.17
Arch            : x86_64
Compiler        : GCC 9.3.0
C++ ABI         : 98
Vendor          : VEsoft Inc.

-- CMAKE_INCLUDE_PATH              : /home/wenzhou/nebula-3.2.0/build/third-party/install/include
-- CMAKE_LIBRARY_PATH              : /home/wenzhou/nebula-3.2.0/build/third-party/install/lib64;/home/wenzhou/nebula-3.2.0/build/third-party/install/lib
-- CMAKE_PROGRAM_PATH              : /home/wenzhou/nebula-3.2.0/build/third-party/install/bin
-- GLIBC_VERSION                   : 2.17

-- Found ZLIB: /home/wenzhou/nebula-3.2.0/build/third-party/install/lib/libz.a (found version "1.2.11")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found OpenSSL: /home/wenzhou/nebula-3.2.0/build/third-party/install/lib64/libcrypto.a (found version "1.1.1l")
-- found krb5-config here /home/wenzhou/nebula-3.2.0/build/third-party/install/bin/krb5-config
-- Found kerberos 5 headers: /home/wenzhou/nebula-3.2.0/build/third-party/install/include
-- Found kerberos 5 libs:    /home/wenzhou/nebula-3.2.0/build/third-party/install/lib/libgssapi_krb5.a;/home/wenzhou/nebula-3.2.0/build/third-party/install/lib/libkrb5.a;/home/wenzhou/nebula-3.2.0/build/third-party/install/lib/libk5crypto.a;/home/wenzhou/nebula-3.2.0/build/third-party/install/lib/libcom_err.a;/home/wenzhou/nebula-3.2.0/build/third-party/install/lib/libkrb5support.a
-- Found Boost: /home/wenzhou/nebula-3.2.0/build/third-party/install/include (found version "1.76.0")
-- Found Libunwind: /home/wenzhou/nebula-3.2.0/build/third-party/install/lib/libunwind.a
-- Found BISON: /home/wenzhou/nebula-3.2.0/build/third-party/install/bin/bison (found suitable version "3.7.6", minimum required is "3.0.5")
-- Found FLEX: /home/wenzhou/nebula-3.2.0/build/third-party/install/bin/flex (found version "2.6.4")
-- Looking for lzma_auto_decoder in /home/wenzhou/nebula-3.2.0/build/third-party/install/lib/liblzma.a
-- Looking for lzma_auto_decoder in /home/wenzhou/nebula-3.2.0/build/third-party/install/lib/liblzma.a - found
-- Looking for lzma_easy_encoder in /home/wenzhou/nebula-3.2.0/build/third-party/install/lib/liblzma.a
-- Looking for lzma_easy_encoder in /home/wenzhou/nebula-3.2.0/build/third-party/install/lib/liblzma.a - found
-- Looking for lzma_lzma_preset in /home/wenzhou/nebula-3.2.0/build/third-party/install/lib/liblzma.a
-- Looking for lzma_lzma_preset in /home/wenzhou/nebula-3.2.0/build/third-party/install/lib/liblzma.a - found
-- Found LibLZMA: /home/wenzhou/nebula-3.2.0/build/third-party/install/lib/liblzma.a (found version "5.2.5")
>>>> Configuring third party for 'Nebula Graph' done <<<<
-- Found Git: /usr/bin/git (found version "2.36.0")
-- NEBULA_BUILD_VERSION            :
-- HOST_SYSTEM_NAME                : el
-- HOST_SYSTEM_VER                 : el7
-- CPACK_GENERATOR                 : RPM
-- CMAKE_HOST_SYSTEM_PROCESSOR     : x86_64
-- Configuring done
-- Generating done
-- Build files have been written to: /home/wenzhou/nebula-3.2.0/build

链接出错信息

rocksdb链接问题

/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: CMakeFiles/db_dump.dir/DbDumper.cpp.o: in function `nebula::storage::DbDumper::openDb()':
DbDumper.cpp:(.text+0x1bd8): undefined reference to `rocksdb::DB::OpenForReadOnly(rocksdb::Options const&, std::string const&, rocksdb::DB**, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: DbDumper.cpp:(.text+0x1d31): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::createCheckpoint(std::string const&)':
RocksEngine.cpp:(.text+0x474): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x4ff): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::backup()':
RocksEngine.cpp:(.text+0x840): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::flush()':
RocksEngine.cpp:(.text+0xf31): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o:RocksEngine.cpp:(.text+0x11ea): more undefined references to `rocksdb::Status::ToString() const' follow
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::RocksEngine(int, int, std::string const&, std::string const&, std::shared_ptr<rocksdb::MergeOperator>, std::shared_ptr<rocksdb::CompactionFilterFactory>, bool)':
RocksEngine.cpp:(.text+0x38f8): undefined reference to `rocksdb::DB::Open(rocksdb::Options const&, std::string const&, rocksdb::DB**)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x3ae6): undefined reference to `rocksdb::DB::OpenForReadOnly(rocksdb::Options const&, std::string const&, rocksdb::DB**, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x3b93): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x3e40): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x4022): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::backupTable(std::string const&, std::string const&, std::function<bool (folly::Range<char const*> const&)>)':
RocksEngine.cpp:(.text+0x4db3): undefined reference to `rocksdb::SstFileWriter::Open(std::string const&)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x51e3): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x52d4): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x5382): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::multiRemove(std::vector<std::string, std::allocator<std::string> >)':
RocksEngine.cpp:(.text+0x63e5): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::multiPut(std::vector<std::pair<std::string, std::string>, std::allocator<std::pair<std::string, std::string> > >)':
RocksEngine.cpp:(.text+0x667d): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::initRocksdbOptions(rocksdb::Options&, int, int)':
RocksEngineConfig.cpp:(.text+0xe62): undefined reference to `rocksdb::GetDBOptionsFromMap(rocksdb::DBOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, rocksdb::DBOptions*, bool, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngineConfig.cpp:(.text+0x1222): undefined reference to `rocksdb::GetColumnFamilyOptionsFromMap(rocksdb::ColumnFamilyOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, rocksdb::ColumnFamilyOptions*, bool, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngineConfig.cpp:(.text+0x2dde): undefined reference to `rocksdb::GetBlockBasedTableOptionsFromMap(rocksdb::BlockBasedTableOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, rocksdb::BlockBasedTableOptions*, bool, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngineConfig.cpp:(.text+0x33ce): undefined reference to `rocksdb::NewConcurrentTaskLimiter(std::string const&, int)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnBackgroundError(rocksdb::BackgroundErrorReason, rocksdb::Status*)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener17OnBackgroundErrorEN7rocksdb21BackgroundErrorReasonEPNS2_6StatusE[_ZN6nebula7kvstore13EventListener17OnBackgroundErrorEN7rocksdb21BackgroundErrorReasonEPNS2_6StatusE]+0xad): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnErrorRecoveryBegin(rocksdb::BackgroundErrorReason, rocksdb::Status, bool*)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener20OnErrorRecoveryBeginEN7rocksdb21BackgroundErrorReasonENS2_6StatusEPb[_ZN6nebula7kvstore13EventListener20OnErrorRecoveryBeginEN7rocksdb21BackgroundErrorReasonENS2_6StatusEPb]+0xad): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnErrorRecoveryCompleted(rocksdb::Status)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener24OnErrorRecoveryCompletedEN7rocksdb6StatusE[_ZN6nebula7kvstore13EventListener24OnErrorRecoveryCompletedEN7rocksdb6StatusE]+0x56): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnCompactionCompleted(rocksdb::DB*, rocksdb::CompactionJobInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener21OnCompactionCompletedEPN7rocksdb2DBERKNS2_17CompactionJobInfoE[_ZN6nebula7kvstore13EventListener21OnCompactionCompletedEPN7rocksdb2DBERKNS2_17CompactionJobInfoE]+0xde): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnCompactionBegin(rocksdb::DB*, rocksdb::CompactionJobInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener17OnCompactionBeginEPN7rocksdb2DBERKNS2_17CompactionJobInfoE[_ZN6nebula7kvstore13EventListener17OnCompactionBeginEPN7rocksdb2DBERKNS2_17CompactionJobInfoE]+0xde): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnExternalFileIngested(rocksdb::DB*, rocksdb::ExternalFileIngestionInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener22OnExternalFileIngestedEPN7rocksdb2DBERKNS2_25ExternalFileIngestionInfoE[_ZN6nebula7kvstore13EventListener22OnExternalFileIngestedEPN7rocksdb2DBERKNS2_25ExternalFileIngestionInfoE]+0x121): undefined reference to `rocksdb::TableProperties::ToString(std::string const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnFlushCompleted(rocksdb::DB*, rocksdb::FlushJobInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener16OnFlushCompletedEPN7rocksdb2DBERKNS2_12FlushJobInfoE[_ZN6nebula7kvstore13EventListener16OnFlushCompletedEPN7rocksdb2DBERKNS2_12FlushJobInfoE]+0x1ba): undefined reference to `rocksdb::TableProperties::ToString(std::string const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnFlushBegin(rocksdb::DB*, rocksdb::FlushJobInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener12OnFlushBeginEPN7rocksdb2DBERKNS2_12FlushJobInfoE[_ZN6nebula7kvstore13EventListener12OnFlushBeginEPN7rocksdb2DBERKNS2_12FlushJobInfoE]+0x1ba): undefined reference to `rocksdb::TableProperties::ToString(std::string const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x20): undefined reference to `rocksdb::Customizable::GetOption(rocksdb::ConfigOptions const&, std::string const&, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x28): undefined reference to `rocksdb::Customizable::AreEquivalent(rocksdb::ConfigOptions const&, rocksdb::Configurable const*, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x48): undefined reference to `rocksdb::Configurable::GetOptionsPtr(std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x50): undefined reference to `rocksdb::Configurable::ParseStringOptions(rocksdb::ConfigOptions const&, std::string const&)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x58): undefined reference to `rocksdb::Configurable::ConfigureOptions(rocksdb::ConfigOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > >*)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x60): undefined reference to `rocksdb::Configurable::ParseOption(rocksdb::ConfigOptions const&, rocksdb::OptionTypeInfo const&, std::string const&, std::string const&, void*)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x68): undefined reference to `rocksdb::Configurable::OptionsAreEqual(rocksdb::ConfigOptions const&, rocksdb::OptionTypeInfo const&, std::string const&, void const*, void const*, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x70): undefined reference to `rocksdb::Customizable::SerializeOptions(rocksdb::ConfigOptions const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x78): undefined reference to `rocksdb::Customizable::GetOptionName(std::string const&) const'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/db_dump] 错误 1
make[1]: *** [src/tools/db-dump/CMakeFiles/db_dump.dir/all] 错误 2
make[1]: *** 正在等待未完成的任务....
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: CMakeFiles/meta_dump.dir/MetaDumpTool.cpp.o: in function `nebula::meta::MetaDumper::dumpMeta(char const*)':
MetaDumpTool.cpp:(.text._ZN6nebula4meta10MetaDumper8dumpMetaEPKc[_ZN6nebula4meta10MetaDumper8dumpMetaEPKc]+0x7e): undefined reference to `rocksdb::DB::OpenForReadOnly(rocksdb::Options const&, std::string const&, rocksdb::DB**, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: MetaDumpTool.cpp:(.text._ZN6nebula4meta10MetaDumper8dumpMetaEPKc[_ZN6nebula4meta10MetaDumper8dumpMetaEPKc]+0xaa): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::createCheckpoint(std::string const&)':
RocksEngine.cpp:(.text+0x474): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x4ff): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::backup()':
RocksEngine.cpp:(.text+0x840): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::flush()':
RocksEngine.cpp:(.text+0xf31): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o:RocksEngine.cpp:(.text+0x11ea): more undefined references to `rocksdb::Status::ToString() const' follow
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::RocksEngine(int, int, std::string const&, std::string const&, std::shared_ptr<rocksdb::MergeOperator>, std::shared_ptr<rocksdb::CompactionFilterFactory>, bool)':
RocksEngine.cpp:(.text+0x38f8): undefined reference to `rocksdb::DB::Open(rocksdb::Options const&, std::string const&, rocksdb::DB**)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x3ae6): undefined reference to `rocksdb::DB::OpenForReadOnly(rocksdb::Options const&, std::string const&, rocksdb::DB**, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x3b93): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x3e40): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x4022): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::backupTable(std::string const&, std::string const&, std::function<bool (folly::Range<char const*> const&)>)':
RocksEngine.cpp:(.text+0x4db3): undefined reference to `rocksdb::SstFileWriter::Open(std::string const&)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x51e3): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x52d4): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x5382): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::multiRemove(std::vector<std::string, std::allocator<std::string> >)':
RocksEngine.cpp:(.text+0x63e5): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::multiPut(std::vector<std::pair<std::string, std::string>, std::allocator<std::pair<std::string, std::string> > >)':
RocksEngine.cpp:(.text+0x667d): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::initRocksdbOptions(rocksdb::Options&, int, int)':
RocksEngineConfig.cpp:(.text+0xe62): undefined reference to `rocksdb::GetDBOptionsFromMap(rocksdb::DBOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, rocksdb::DBOptions*, bool, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngineConfig.cpp:(.text+0x1222): undefined reference to `rocksdb::GetColumnFamilyOptionsFromMap(rocksdb::ColumnFamilyOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, rocksdb::ColumnFamilyOptions*, bool, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngineConfig.cpp:(.text+0x2dde): undefined reference to `rocksdb::GetBlockBasedTableOptionsFromMap(rocksdb::BlockBasedTableOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, rocksdb::BlockBasedTableOptions*, bool, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngineConfig.cpp:(.text+0x33ce): undefined reference to `rocksdb::NewConcurrentTaskLimiter(std::string const&, int)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnBackgroundError(rocksdb::BackgroundErrorReason, rocksdb::Status*)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener17OnBackgroundErrorEN7rocksdb21BackgroundErrorReasonEPNS2_6StatusE[_ZN6nebula7kvstore13EventListener17OnBackgroundErrorEN7rocksdb21BackgroundErrorReasonEPNS2_6StatusE]+0xad): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnErrorRecoveryBegin(rocksdb::BackgroundErrorReason, rocksdb::Status, bool*)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener20OnErrorRecoveryBeginEN7rocksdb21BackgroundErrorReasonENS2_6StatusEPb[_ZN6nebula7kvstore13EventListener20OnErrorRecoveryBeginEN7rocksdb21BackgroundErrorReasonENS2_6StatusEPb]+0xad): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnErrorRecoveryCompleted(rocksdb::Status)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener24OnErrorRecoveryCompletedEN7rocksdb6StatusE[_ZN6nebula7kvstore13EventListener24OnErrorRecoveryCompletedEN7rocksdb6StatusE]+0x56): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnCompactionCompleted(rocksdb::DB*, rocksdb::CompactionJobInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener21OnCompactionCompletedEPN7rocksdb2DBERKNS2_17CompactionJobInfoE[_ZN6nebula7kvstore13EventListener21OnCompactionCompletedEPN7rocksdb2DBERKNS2_17CompactionJobInfoE]+0xde): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnCompactionBegin(rocksdb::DB*, rocksdb::CompactionJobInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener17OnCompactionBeginEPN7rocksdb2DBERKNS2_17CompactionJobInfoE[_ZN6nebula7kvstore13EventListener17OnCompactionBeginEPN7rocksdb2DBERKNS2_17CompactionJobInfoE]+0xde): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnExternalFileIngested(rocksdb::DB*, rocksdb::ExternalFileIngestionInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener22OnExternalFileIngestedEPN7rocksdb2DBERKNS2_25ExternalFileIngestionInfoE[_ZN6nebula7kvstore13EventListener22OnExternalFileIngestedEPN7rocksdb2DBERKNS2_25ExternalFileIngestionInfoE]+0x121): undefined reference to `rocksdb::TableProperties::ToString(std::string const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnFlushCompleted(rocksdb::DB*, rocksdb::FlushJobInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener16OnFlushCompletedEPN7rocksdb2DBERKNS2_12FlushJobInfoE[_ZN6nebula7kvstore13EventListener16OnFlushCompletedEPN7rocksdb2DBERKNS2_12FlushJobInfoE]+0x1ba): undefined reference to `rocksdb::TableProperties::ToString(std::string const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnFlushBegin(rocksdb::DB*, rocksdb::FlushJobInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener12OnFlushBeginEPN7rocksdb2DBERKNS2_12FlushJobInfoE[_ZN6nebula7kvstore13EventListener12OnFlushBeginEPN7rocksdb2DBERKNS2_12FlushJobInfoE]+0x1ba): undefined reference to `rocksdb::TableProperties::ToString(std::string const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x20): undefined reference to `rocksdb::Customizable::GetOption(rocksdb::ConfigOptions const&, std::string const&, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x28): undefined reference to `rocksdb::Customizable::AreEquivalent(rocksdb::ConfigOptions const&, rocksdb::Configurable const*, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x48): undefined reference to `rocksdb::Configurable::GetOptionsPtr(std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x50): undefined reference to `rocksdb::Configurable::ParseStringOptions(rocksdb::ConfigOptions const&, std::string const&)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x58): undefined reference to `rocksdb::Configurable::ConfigureOptions(rocksdb::ConfigOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > >*)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x60): undefined reference to `rocksdb::Configurable::ParseOption(rocksdb::ConfigOptions const&, rocksdb::OptionTypeInfo const&, std::string const&, std::string const&, void*)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x68): undefined reference to `rocksdb::Configurable::OptionsAreEqual(rocksdb::ConfigOptions const&, rocksdb::OptionTypeInfo const&, std::string const&, void const*, void const*, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x70): undefined reference to `rocksdb::Customizable::SerializeOptions(rocksdb::ConfigOptions const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x78): undefined reference to `rocksdb::Customizable::GetOptionName(std::string const&) const'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/meta_dump] 错误 1
make[1]: *** [src/tools/meta-dump/CMakeFiles/meta_dump.dir/all] 错误 2
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: CMakeFiles/db_upgrader.dir/DbUpgrader.cpp.o: in function `nebula::storage::UpgraderSpace::runPartV3()::{lambda(std::vector<std::pair<std::string, std::string>, std::allocator<std::pair<std::string, std::string> > > const&)#1}::operator()(std::vector<std::pair<std::string, std::string>, std::allocator<std::pair<std::string, std::string> > > const&) const':
DbUpgrader.cpp:(.text+0xdc2): undefined reference to `rocksdb::SstFileWriter::Open(std::string const&)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::createCheckpoint(std::string const&)':
RocksEngine.cpp:(.text+0x474): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x4ff): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::backup()':
RocksEngine.cpp:(.text+0x840): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::flush()':
RocksEngine.cpp:(.text+0xf31): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::remove(std::string const&)':
RocksEngine.cpp:(.text+0x11ea): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o:RocksEngine.cpp:(.text+0x16a1): more undefined references to `rocksdb::Status::ToString() const' follow
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::RocksEngine(int, int, std::string const&, std::string const&, std::shared_ptr<rocksdb::MergeOperator>, std::shared_ptr<rocksdb::CompactionFilterFactory>, bool)':
RocksEngine.cpp:(.text+0x38f8): undefined reference to `rocksdb::DB::Open(rocksdb::Options const&, std::string const&, rocksdb::DB**)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x3ae6): undefined reference to `rocksdb::DB::OpenForReadOnly(rocksdb::Options const&, std::string const&, rocksdb::DB**, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x3b93): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x3e40): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x4022): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::backupTable(std::string const&, std::string const&, std::function<bool (folly::Range<char const*> const&)>)':
RocksEngine.cpp:(.text+0x4db3): undefined reference to `rocksdb::SstFileWriter::Open(std::string const&)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x51e3): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x52d4): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x5382): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::multiRemove(std::vector<std::string, std::allocator<std::string> >)':
RocksEngine.cpp:(.text+0x63e5): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::multiPut(std::vector<std::pair<std::string, std::string>, std::allocator<std::pair<std::string, std::string> > >)':
RocksEngine.cpp:(.text+0x667d): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::initRocksdbOptions(rocksdb::Options&, int, int)':
RocksEngineConfig.cpp:(.text+0xe62): undefined reference to `rocksdb::GetDBOptionsFromMap(rocksdb::DBOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, rocksdb::DBOptions*, bool, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngineConfig.cpp:(.text+0x1222): undefined reference to `rocksdb::GetColumnFamilyOptionsFromMap(rocksdb::ColumnFamilyOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, rocksdb::ColumnFamilyOptions*, bool, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngineConfig.cpp:(.text+0x2dde): undefined reference to `rocksdb::GetBlockBasedTableOptionsFromMap(rocksdb::BlockBasedTableOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, rocksdb::BlockBasedTableOptions*, bool, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngineConfig.cpp:(.text+0x33ce): undefined reference to `rocksdb::NewConcurrentTaskLimiter(std::string const&, int)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnBackgroundError(rocksdb::BackgroundErrorReason, rocksdb::Status*)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener17OnBackgroundErrorEN7rocksdb21BackgroundErrorReasonEPNS2_6StatusE[_ZN6nebula7kvstore13EventListener17OnBackgroundErrorEN7rocksdb21BackgroundErrorReasonEPNS2_6StatusE]+0xad): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnErrorRecoveryBegin(rocksdb::BackgroundErrorReason, rocksdb::Status, bool*)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener20OnErrorRecoveryBeginEN7rocksdb21BackgroundErrorReasonENS2_6StatusEPb[_ZN6nebula7kvstore13EventListener20OnErrorRecoveryBeginEN7rocksdb21BackgroundErrorReasonENS2_6StatusEPb]+0xad): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnErrorRecoveryCompleted(rocksdb::Status)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener24OnErrorRecoveryCompletedEN7rocksdb6StatusE[_ZN6nebula7kvstore13EventListener24OnErrorRecoveryCompletedEN7rocksdb6StatusE]+0x56): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnCompactionCompleted(rocksdb::DB*, rocksdb::CompactionJobInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener21OnCompactionCompletedEPN7rocksdb2DBERKNS2_17CompactionJobInfoE[_ZN6nebula7kvstore13EventListener21OnCompactionCompletedEPN7rocksdb2DBERKNS2_17CompactionJobInfoE]+0xde): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnCompactionBegin(rocksdb::DB*, rocksdb::CompactionJobInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener17OnCompactionBeginEPN7rocksdb2DBERKNS2_17CompactionJobInfoE[_ZN6nebula7kvstore13EventListener17OnCompactionBeginEPN7rocksdb2DBERKNS2_17CompactionJobInfoE]+0xde): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnExternalFileIngested(rocksdb::DB*, rocksdb::ExternalFileIngestionInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener22OnExternalFileIngestedEPN7rocksdb2DBERKNS2_25ExternalFileIngestionInfoE[_ZN6nebula7kvstore13EventListener22OnExternalFileIngestedEPN7rocksdb2DBERKNS2_25ExternalFileIngestionInfoE]+0x121): undefined reference to `rocksdb::TableProperties::ToString(std::string const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnFlushCompleted(rocksdb::DB*, rocksdb::FlushJobInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener16OnFlushCompletedEPN7rocksdb2DBERKNS2_12FlushJobInfoE[_ZN6nebula7kvstore13EventListener16OnFlushCompletedEPN7rocksdb2DBERKNS2_12FlushJobInfoE]+0x1ba): undefined reference to `rocksdb::TableProperties::ToString(std::string const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnFlushBegin(rocksdb::DB*, rocksdb::FlushJobInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener12OnFlushBeginEPN7rocksdb2DBERKNS2_12FlushJobInfoE[_ZN6nebula7kvstore13EventListener12OnFlushBeginEPN7rocksdb2DBERKNS2_12FlushJobInfoE]+0x1ba): undefined reference to `rocksdb::TableProperties::ToString(std::string const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x20): undefined reference to `rocksdb::Customizable::GetOption(rocksdb::ConfigOptions const&, std::string const&, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x28): undefined reference to `rocksdb::Customizable::AreEquivalent(rocksdb::ConfigOptions const&, rocksdb::Configurable const*, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x48): undefined reference to `rocksdb::Configurable::GetOptionsPtr(std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x50): undefined reference to `rocksdb::Configurable::ParseStringOptions(rocksdb::ConfigOptions const&, std::string const&)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x58): undefined reference to `rocksdb::Configurable::ConfigureOptions(rocksdb::ConfigOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > >*)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x60): undefined reference to `rocksdb::Configurable::ParseOption(rocksdb::ConfigOptions const&, rocksdb::OptionTypeInfo const&, std::string const&, std::string const&, void*)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x68): undefined reference to `rocksdb::Configurable::OptionsAreEqual(rocksdb::ConfigOptions const&, rocksdb::OptionTypeInfo const&, std::string const&, void const*, void const*, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x70): undefined reference to `rocksdb::Customizable::SerializeOptions(rocksdb::ConfigOptions const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x78): undefined reference to `rocksdb::Customizable::GetOptionName(std::string const&) const'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/db_upgrader] 错误 1
make[1]: *** [src/tools/db-upgrade/CMakeFiles/db_upgrader.dir/all] 错误 2
[100%] Linking CXX executable ../../bin/nebula-standalone
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore18KVCompactionFilterE[_ZTVN6nebula7kvstore18KVCompactionFilterE]+0x20): undefined reference to `rocksdb::Customizable::GetOption(rocksdb::ConfigOptions const&, std::string const&, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore18KVCompactionFilterE[_ZTVN6nebula7kvstore18KVCompactionFilterE]+0x28): undefined reference to `rocksdb::Customizable::AreEquivalent(rocksdb::ConfigOptions const&, rocksdb::Configurable const*, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore18KVCompactionFilterE[_ZTVN6nebula7kvstore18KVCompactionFilterE]+0x48): undefined reference to `rocksdb::Configurable::GetOptionsPtr(std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore18KVCompactionFilterE[_ZTVN6nebula7kvstore18KVCompactionFilterE]+0x50): undefined reference to `rocksdb::Configurable::ParseStringOptions(rocksdb::ConfigOptions const&, std::string const&)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore18KVCompactionFilterE[_ZTVN6nebula7kvstore18KVCompactionFilterE]+0x58): undefined reference to `rocksdb::Configurable::ConfigureOptions(rocksdb::ConfigOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > >*)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore18KVCompactionFilterE[_ZTVN6nebula7kvstore18KVCompactionFilterE]+0x60): undefined reference to `rocksdb::Configurable::ParseOption(rocksdb::ConfigOptions const&, rocksdb::OptionTypeInfo const&, std::string const&, std::string const&, void*)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore18KVCompactionFilterE[_ZTVN6nebula7kvstore18KVCompactionFilterE]+0x68): undefined reference to `rocksdb::Configurable::OptionsAreEqual(rocksdb::ConfigOptions const&, rocksdb::OptionTypeInfo const&, std::string const&, void const*, void const*, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore18KVCompactionFilterE[_ZTVN6nebula7kvstore18KVCompactionFilterE]+0x70): undefined reference to `rocksdb::Customizable::SerializeOptions(rocksdb::ConfigOptions const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore18KVCompactionFilterE[_ZTVN6nebula7kvstore18KVCompactionFilterE]+0x78): undefined reference to `rocksdb::Customizable::GetOptionName(std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore25KVCompactionFilterFactoryE[_ZTVN6nebula7kvstore25KVCompactionFilterFactoryE]+0x20): undefined reference to `rocksdb::Customizable::GetOption(rocksdb::ConfigOptions const&, std::string const&, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore25KVCompactionFilterFactoryE[_ZTVN6nebula7kvstore25KVCompactionFilterFactoryE]+0x28): undefined reference to `rocksdb::Customizable::AreEquivalent(rocksdb::ConfigOptions const&, rocksdb::Configurable const*, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore25KVCompactionFilterFactoryE[_ZTVN6nebula7kvstore25KVCompactionFilterFactoryE]+0x48): undefined reference to `rocksdb::Configurable::GetOptionsPtr(std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore25KVCompactionFilterFactoryE[_ZTVN6nebula7kvstore25KVCompactionFilterFactoryE]+0x50): undefined reference to `rocksdb::Configurable::ParseStringOptions(rocksdb::ConfigOptions const&, std::string const&)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore25KVCompactionFilterFactoryE[_ZTVN6nebula7kvstore25KVCompactionFilterFactoryE]+0x58): undefined reference to `rocksdb::Configurable::ConfigureOptions(rocksdb::ConfigOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > >*)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore25KVCompactionFilterFactoryE[_ZTVN6nebula7kvstore25KVCompactionFilterFactoryE]+0x60): undefined reference to `rocksdb::Configurable::ParseOption(rocksdb::ConfigOptions const&, rocksdb::OptionTypeInfo const&, std::string const&, std::string const&, void*)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore25KVCompactionFilterFactoryE[_ZTVN6nebula7kvstore25KVCompactionFilterFactoryE]+0x68): undefined reference to `rocksdb::Configurable::OptionsAreEqual(rocksdb::ConfigOptions const&, rocksdb::OptionTypeInfo const&, std::string const&, void const*, void const*, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore25KVCompactionFilterFactoryE[_ZTVN6nebula7kvstore25KVCompactionFilterFactoryE]+0x70): undefined reference to `rocksdb::Customizable::SerializeOptions(rocksdb::ConfigOptions const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7kvstore25KVCompactionFilterFactoryE[_ZTVN6nebula7kvstore25KVCompactionFilterFactoryE]+0x78): undefined reference to `rocksdb::Customizable::GetOptionName(std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7storage30StorageCompactionFilterFactoryE[_ZTVN6nebula7storage30StorageCompactionFilterFactoryE]+0x20): undefined reference to `rocksdb::Customizable::GetOption(rocksdb::ConfigOptions const&, std::string const&, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7storage30StorageCompactionFilterFactoryE[_ZTVN6nebula7storage30StorageCompactionFilterFactoryE]+0x28): undefined reference to `rocksdb::Customizable::AreEquivalent(rocksdb::ConfigOptions const&, rocksdb::Configurable const*, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7storage30StorageCompactionFilterFactoryE[_ZTVN6nebula7storage30StorageCompactionFilterFactoryE]+0x48): undefined reference to `rocksdb::Configurable::GetOptionsPtr(std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7storage30StorageCompactionFilterFactoryE[_ZTVN6nebula7storage30StorageCompactionFilterFactoryE]+0x50): undefined reference to `rocksdb::Configurable::ParseStringOptions(rocksdb::ConfigOptions const&, std::string const&)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7storage30StorageCompactionFilterFactoryE[_ZTVN6nebula7storage30StorageCompactionFilterFactoryE]+0x58): undefined reference to `rocksdb::Configurable::ConfigureOptions(rocksdb::ConfigOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > >*)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7storage30StorageCompactionFilterFactoryE[_ZTVN6nebula7storage30StorageCompactionFilterFactoryE]+0x60): undefined reference to `rocksdb::Configurable::ParseOption(rocksdb::ConfigOptions const&, rocksdb::OptionTypeInfo const&, std::string const&, std::string const&, void*)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7storage30StorageCompactionFilterFactoryE[_ZTVN6nebula7storage30StorageCompactionFilterFactoryE]+0x68): undefined reference to `rocksdb::Configurable::OptionsAreEqual(rocksdb::ConfigOptions const&, rocksdb::OptionTypeInfo const&, std::string const&, void const*, void const*, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7storage30StorageCompactionFilterFactoryE[_ZTVN6nebula7storage30StorageCompactionFilterFactoryE]+0x70): undefined reference to `rocksdb::Customizable::SerializeOptions(rocksdb::ConfigOptions const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_server.dir/StorageServer.cpp.o:(.rodata._ZTVN6nebula7storage30StorageCompactionFilterFactoryE[_ZTVN6nebula7storage30StorageCompactionFilterFactoryE]+0x78): undefined reference to `rocksdb::Customizable::GetOptionName(std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../storage/CMakeFiles/storage_http_handler.dir/http/StorageHttpStatsHandler.cpp.o: in function `nebula::storage::StorageHttpStatsHandler::getStats() const':
StorageHttpStatsHandler.cpp:(.text+0x17f): undefined reference to `rocksdb::HistogramsNameMap'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: StorageHttpStatsHandler.cpp:(.text+0x186): undefined reference to `rocksdb::HistogramsNameMap'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::createCheckpoint(std::string const&)':
RocksEngine.cpp:(.text+0x474): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x4ff): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::backup()':
RocksEngine.cpp:(.text+0x840): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::flush()':
RocksEngine.cpp:(.text+0xf31): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::remove(std::string const&)':
RocksEngine.cpp:(.text+0x11ea): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o:RocksEngine.cpp:(.text+0x16a1): more undefined references to `rocksdb::Status::ToString() const' follow
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::RocksEngine(int, int, std::string const&, std::string const&, std::shared_ptr<rocksdb::MergeOperator>, std::shared_ptr<rocksdb::CompactionFilterFactory>, bool)':
RocksEngine.cpp:(.text+0x38f8): undefined reference to `rocksdb::DB::Open(rocksdb::Options const&, std::string const&, rocksdb::DB**)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x3ae6): undefined reference to `rocksdb::DB::OpenForReadOnly(rocksdb::Options const&, std::string const&, rocksdb::DB**, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x3b93): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x3e40): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x4022): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::backupTable(std::string const&, std::string const&, std::function<bool (folly::Range<char const*> const&)>)':
RocksEngine.cpp:(.text+0x4db3): undefined reference to `rocksdb::SstFileWriter::Open(std::string const&)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x51e3): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x52d4): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngine.cpp:(.text+0x5382): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::multiRemove(std::vector<std::string, std::allocator<std::string> >)':
RocksEngine.cpp:(.text+0x63e5): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o: in function `nebula::kvstore::RocksEngine::multiPut(std::vector<std::pair<std::string, std::string>, std::allocator<std::pair<std::string, std::string> > >)':
RocksEngine.cpp:(.text+0x667d): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::initRocksdbOptions(rocksdb::Options&, int, int)':
RocksEngineConfig.cpp:(.text+0xe62): undefined reference to `rocksdb::GetDBOptionsFromMap(rocksdb::DBOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, rocksdb::DBOptions*, bool, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngineConfig.cpp:(.text+0x1222): undefined reference to `rocksdb::GetColumnFamilyOptionsFromMap(rocksdb::ColumnFamilyOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, rocksdb::ColumnFamilyOptions*, bool, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngineConfig.cpp:(.text+0x2dde): undefined reference to `rocksdb::GetBlockBasedTableOptionsFromMap(rocksdb::BlockBasedTableOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, rocksdb::BlockBasedTableOptions*, bool, bool)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: RocksEngineConfig.cpp:(.text+0x33ce): undefined reference to `rocksdb::NewConcurrentTaskLimiter(std::string const&, int)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnBackgroundError(rocksdb::BackgroundErrorReason, rocksdb::Status*)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener17OnBackgroundErrorEN7rocksdb21BackgroundErrorReasonEPNS2_6StatusE[_ZN6nebula7kvstore13EventListener17OnBackgroundErrorEN7rocksdb21BackgroundErrorReasonEPNS2_6StatusE]+0xad): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnErrorRecoveryBegin(rocksdb::BackgroundErrorReason, rocksdb::Status, bool*)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener20OnErrorRecoveryBeginEN7rocksdb21BackgroundErrorReasonENS2_6StatusEPb[_ZN6nebula7kvstore13EventListener20OnErrorRecoveryBeginEN7rocksdb21BackgroundErrorReasonENS2_6StatusEPb]+0xad): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnErrorRecoveryCompleted(rocksdb::Status)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener24OnErrorRecoveryCompletedEN7rocksdb6StatusE[_ZN6nebula7kvstore13EventListener24OnErrorRecoveryCompletedEN7rocksdb6StatusE]+0x56): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnCompactionCompleted(rocksdb::DB*, rocksdb::CompactionJobInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener21OnCompactionCompletedEPN7rocksdb2DBERKNS2_17CompactionJobInfoE[_ZN6nebula7kvstore13EventListener21OnCompactionCompletedEPN7rocksdb2DBERKNS2_17CompactionJobInfoE]+0xde): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnCompactionBegin(rocksdb::DB*, rocksdb::CompactionJobInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener17OnCompactionBeginEPN7rocksdb2DBERKNS2_17CompactionJobInfoE[_ZN6nebula7kvstore13EventListener17OnCompactionBeginEPN7rocksdb2DBERKNS2_17CompactionJobInfoE]+0xde): undefined reference to `rocksdb::Status::ToString() const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnExternalFileIngested(rocksdb::DB*, rocksdb::ExternalFileIngestionInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener22OnExternalFileIngestedEPN7rocksdb2DBERKNS2_25ExternalFileIngestionInfoE[_ZN6nebula7kvstore13EventListener22OnExternalFileIngestedEPN7rocksdb2DBERKNS2_25ExternalFileIngestionInfoE]+0x121): undefined reference to `rocksdb::TableProperties::ToString(std::string const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnFlushCompleted(rocksdb::DB*, rocksdb::FlushJobInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener16OnFlushCompletedEPN7rocksdb2DBERKNS2_12FlushJobInfoE[_ZN6nebula7kvstore13EventListener16OnFlushCompletedEPN7rocksdb2DBERKNS2_12FlushJobInfoE]+0x1ba): undefined reference to `rocksdb::TableProperties::ToString(std::string const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o: in function `nebula::kvstore::EventListener::OnFlushBegin(rocksdb::DB*, rocksdb::FlushJobInfo const&)':
RocksEngineConfig.cpp:(.text._ZN6nebula7kvstore13EventListener12OnFlushBeginEPN7rocksdb2DBERKNS2_12FlushJobInfoE[_ZN6nebula7kvstore13EventListener12OnFlushBeginEPN7rocksdb2DBERKNS2_12FlushJobInfoE]+0x1ba): undefined reference to `rocksdb::TableProperties::ToString(std::string const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x20): undefined reference to `rocksdb::Customizable::GetOption(rocksdb::ConfigOptions const&, std::string const&, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x28): undefined reference to `rocksdb::Customizable::AreEquivalent(rocksdb::ConfigOptions const&, rocksdb::Configurable const*, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x48): undefined reference to `rocksdb::Configurable::GetOptionsPtr(std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x50): undefined reference to `rocksdb::Configurable::ParseStringOptions(rocksdb::ConfigOptions const&, std::string const&)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x58): undefined reference to `rocksdb::Configurable::ConfigureOptions(rocksdb::ConfigOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > >*)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x60): undefined reference to `rocksdb::Configurable::ParseOption(rocksdb::ConfigOptions const&, rocksdb::OptionTypeInfo const&, std::string const&, std::string const&, void*)'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x68): undefined reference to `rocksdb::Configurable::OptionsAreEqual(rocksdb::ConfigOptions const&, rocksdb::OptionTypeInfo const&, std::string const&, void const*, void const*, std::string*) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x70): undefined reference to `rocksdb::Customizable::SerializeOptions(rocksdb::ConfigOptions const&, std::string const&) const'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld.bfd: ../kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o:(.rodata._ZTVN6nebula7kvstore13EventListenerE[_ZTVN6nebula7kvstore13EventListenerE]+0x78): undefined reference to `rocksdb::Customizable::GetOptionName(std::string const&) const'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/nebula-standalone] 错误 1
make[1]: *** [src/daemons/CMakeFiles/nebula-standalone.dir/all] 错误 2
make: *** [all] 错误 2

@SuperYoko 不知道是不是特别的单机问题?

感觉是不是预置的三方库rocksdb问题,在centos 8上gcc 8.5编译正常

看上去是的,是否是因为rocksdb的版本不同呢?如果你在这个环境安装了rocksdb库,可能会影响我们预编译的第三方库里的rocksdb。

尝试编译分布式版本呢?应该是一样的问题。

1 个赞

分布式版本一样的问题
现在cmake查找的是本地拉取的云端rocksdb库,find_package按说不会冲突吧,我大概看了下没看到之前有遗留rocksdb,这个因素如果进一步排查有啥建议吗

可以使用make VERBOSE=1 来看链接的是哪个rocksdb库,找到后,使用nm查看相关符号。

1 个赞