# Pastebin NnNZFWOg [100%] Linking CXX executable osqueryd -- Building osqueryd: /build/source/build/osquery/osqueryd /nix/store/qw8rhqk004qmqgnkvkpj85l1s194ang1-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/qw8rhqk004qmqgnkvkpj85l1s194ang1-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/qw8rhqk004qmqgnkvkpj85l1s194ang1-binutils-2.31.1/bin/ld: /nix/store/y1j5z8026vnm9ybzp68pzjkjrxjvm9x7-rocksdb-6.1.2/lib/librocksdb_lite.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+0x27ad): undefined reference to `snappy::GetUncompressedLength(char const*, unsigned long, unsigned long*)' /nix/store/qw8rhqk004qmqgnkvkpj85l1s194ang1-binutils-2.31.1/bin/ld: (.text+0x2ff2): undefined reference to `snappy::RawUncompress(char const*, unsigned long, char*)' /nix/store/qw8rhqk004qmqgnkvkpj85l1s194ang1-binutils-2.31.1/bin/ld: /nix/store/y1j5z8026vnm9ybzp68pzjkjrxjvm9x7-rocksdb-6.1.2/lib/librocksdb_lite.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, std::allocator >*)': (.text+0x36b): undefined reference to `snappy::MaxCompressedLength(unsigned long)' /nix/store/qw8rhqk004qmqgnkvkpj85l1s194ang1-binutils-2.31.1/bin/ld: (.text+0x393): undefined reference to `snappy::RawCompress(char const*, unsigned long, char*, unsigned long*)' /nix/store/qw8rhqk004qmqgnkvkpj85l1s194ang1-binutils-2.31.1/bin/ld: /nix/store/y1j5z8026vnm9ybzp68pzjkjrxjvm9x7-rocksdb-6.1.2/lib/librocksdb_lite.a(block_based_table_builder.cc.o): in function `rocksdb::CompressBlock(rocksdb::Slice const&, rocksdb::CompressionInfo const&, rocksdb::CompressionType*, unsigned int, bool, std::__cxx11::basic_string, std::allocator >*, std::__cxx11::basic_string, std::allocator >*, std::__cxx11::basic_string, std::allocator >*)': (.text+0xced): undefined reference to `snappy::MaxCompressedLength(unsigned long)' /nix/store/qw8rhqk004qmqgnkvkpj85l1s194ang1-binutils-2.31.1/bin/ld: (.text+0xd0f): undefined reference to `snappy::RawCompress(char const*, unsigned long, char*, unsigned long*)' /nix/store/qw8rhqk004qmqgnkvkpj85l1s194ang1-binutils-2.31.1/bin/ld: /nix/store/y1j5z8026vnm9ybzp68pzjkjrxjvm9x7-rocksdb-6.1.2/lib/librocksdb_lite.a(block_based_table_builder.cc.o): in function `rocksdb::BlockBasedTableBuilder::EnterUnbuffered()': (.text+0x65f8): undefined reference to `ZDICT_trainFromBuffer' /nix/store/qw8rhqk004qmqgnkvkpj85l1s194ang1-binutils-2.31.1/bin/ld: (.text+0x6603): 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