Last active
June 18, 2019 19:11
-
-
Save magenbluten/997142eaa828ccd177c0dd06cc8261b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/osquery/CMakeLists.txt.orig 2019-06-18 20:36:39.045158637 +0200 | |
+++ a/osquery/CMakeLists.txt 2019-06-18 20:37:29.516689165 +0200 | |
@@ -169,8 +169,8 @@ | |
if(APPLE OR LINUX) | |
ADD_OSQUERY_LINK_CORE("libdl") | |
- ADD_OSQUERY_LINK_CORE("rocksdb_lite") | |
- ADD_OSQUERY_LINK_ADDITIONAL("rocksdb_lite") | |
+ ADD_OSQUERY_LINK_CORE("rocksdb") | |
+ ADD_OSQUERY_LINK_ADDITIONAL("rocksdb") | |
elseif(FREEBSD) | |
ADD_OSQUERY_LINK_CORE("icuuc") | |
ADD_OSQUERY_LINK_CORE("linenoise") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[100%] Linking CXX executable osqueryd | |
-- Building osqueryd: /build/source/build/osquery/osqueryd | |
/nix/store/zizh5qzhcn4wzm06z99297ckalwrrpfk-binutils-2.31.1/bin/ld: libosquery.a(rocksdb_database.cpp.o):(.data.rel.ro._ZTIN7osquery13RocksDBLoggerE[_ZTIN7osquery13RocksDBLoggerE]+0x10): undefined reference to `typeinfo for rocksdb::Logger' | |
/nix/store/zizh5qzhcn4wzm06z99297ckalwrrpfk-binutils-2.31.1/bin/ld: libosquery_additional.a(rocksdb.cpp.o):(.data.rel.ro._ZTIN7osquery17GlogRocksDBLoggerE[_ZTIN7osquery17GlogRocksDBLoggerE]+0x10): undefined reference to `typeinfo for rocksdb::Logger' | |
/nix/store/zizh5qzhcn4wzm06z99297ckalwrrpfk-binutils-2.31.1/bin/ld: /nix/store/zq24582bh7v2x56gvanww2rpzb3a9132-rocksdb-6.1.2/lib/librocksdb.a(format.cc.o): in function `rocksdb::UncompressBlockContentsForCompressionType(rocksdb::UncompressionInfo const&, char const*, unsigned long, rocksdb::BlockContents*, unsigned int, rocksdb::ImmutableCFOptions const&, rocksdb::MemoryAllocator*)': | |
(.text+0x2a1d): undefined reference to `snappy::GetUncompressedLength(char const*, unsigned long, unsigned long*)' | |
/nix/store/zizh5qzhcn4wzm06z99297ckalwrrpfk-binutils-2.31.1/bin/ld: (.text+0x3409): undefined reference to `snappy::RawUncompress(char const*, unsigned long, char*)' | |
/nix/store/zizh5qzhcn4wzm06z99297ckalwrrpfk-binutils-2.31.1/bin/ld: /nix/store/zq24582bh7v2x56gvanww2rpzb3a9132-rocksdb-6.1.2/lib/librocksdb.a(block_based_table_builder.cc.o): in function `rocksdb::(anonymous namespace)::CompressBlockInternal(rocksdb::Slice const&, rocksdb::CompressionInfo | |
const&, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)': | |
(.text+0x4db): undefined reference to `snappy::MaxCompressedLength(unsigned long)' | |
/nix/store/zizh5qzhcn4wzm06z99297ckalwrrpfk-binutils-2.31.1/bin/ld: (.text+0x503): undefined reference to `snappy::RawCompress(char const*, unsigned long, char*, unsigned long*)' | |
/nix/store/zizh5qzhcn4wzm06z99297ckalwrrpfk-binutils-2.31.1/bin/ld: /nix/store/zq24582bh7v2x56gvanww2rpzb3a9132-rocksdb-6.1.2/lib/librocksdb.a(block_based_table_builder.cc.o): in function `rocksdb::BlockBasedTableBuilder::EnterUnbuffered()': | |
(.text+0x523b): undefined reference to `ZDICT_trainFromBuffer' | |
/nix/store/zizh5qzhcn4wzm06z99297ckalwrrpfk-binutils-2.31.1/bin/ld: (.text+0x5246): undefined reference to `ZDICT_isError' | |
collect2: error: ld returned 1 exit status | |
make[2]: *** [osquery/CMakeFiles/daemon.dir/build.make:169: osquery/osqueryd] Error 1 | |
make[1]: *** [CMakeFiles/Makefile2:894: osquery/CMakeFiles/daemon.dir/all] Error 2 | |
make: *** [Makefile:141: all] Error 2 | |
builder for '/nix/store/30jjklyfmx5bsmx84ixirhkh7wsicp2s-osquery-3.3.2.drv' failed with exit code 2 | |
error: build of '/nix/store/30jjklyfmx5bsmx84ixirhkh7wsicp2s-osquery-3.3.2.drv' failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment