Giter Club home page Giter Club logo

Comments (3)

absolute8511 avatar absolute8511 commented on July 20, 2024

rocksdb的zstd压缩开启了的话, 可以使用下面两种方式解决

添加CGO_LDFLAGS参数, 例如 CGO_LDFLAGS="-L/usr/local/lib -lrocksdb -lzstd" ,这样要求其他部署机器上也要安装 zstd 库

或者编译rocksdb时, 使用ROCKSDB_DISABLE_ZSTD禁用zstd

from zanredisdb.

hhofchina avatar hhofchina commented on July 20, 2024

/root/soft/rocksdb/./util/compression.h:844: undefined reference to LZ4_createStreamDecode' /root/soft/rocksdb/librocksdb.a(format.o): In function rocksdb::UncompressBlockContentsForCompressionType(rocksdb::UncompressionContext const&, char const*, unsigned long, rocksdb::BlockContents*, unsigned int, rocksdb::ImmutableCFOptions const&, rocksdb::MemoryAllocator*)':
format.cc:(.text+0x103e): undefined reference to LZ4_setStreamDecode' format.cc:(.text+0x1065): undefined reference to LZ4_decompress_safe_continue'
format.cc:(.text+0x1074): undefined reference to LZ4_freeStreamDecode' format.cc:(.text+0x127e): undefined reference to LZ4_createStreamDecode'
format.cc:(.text+0x129e): undefined reference to LZ4_setStreamDecode' format.cc:(.text+0x12c5): undefined reference to LZ4_decompress_safe_continue'
format.cc:(.text+0x12d4): undefined reference to `LZ4_freeStreamDecode'

需要继续禁用LZ4?

from zanredisdb.

absolute8511 avatar absolute8511 commented on July 20, 2024

是的, 类似处理

from zanredisdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.