Giter Site home page Giter Site logo

Ubuntu 18.04 build error about cachelib HOT 3 CLOSED

facebook avatar facebook commented on April 16, 2024
Ubuntu 18.04 build error

from cachelib.

Comments (3)

zhichao-cao avatar zhichao-cao commented on April 16, 2024

It reports the same error on Ubuntu 20.04

/usr/bin/ld: /home/CacheLib/opt/cachelib/lib/libthriftcpp2.so.1.0.0: undefined reference to apache::thrift::TrustedServerException::requestParsingError(char const*)' /usr/bin/ld: /home/CacheLib/opt/cachelib/lib/libthriftcpp2.so.1.0.0: undefined reference to apache::thrift::TrustedServerException::unimplementedMethodError(char const*)'
collect2: error: ld returned 1 exit status
make[2]: *** [common/CMakeFiles/common-test-BloomFilterTest.dir/build.make:145: common/common-test-BloomFilterTest] Error 1
make[1]: *** [CMakeFiles/Makefile2:602: common/CMakeFiles/common-test-BloomFilterTest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

from cachelib.

agordon avatar agordon commented on April 16, 2024

@zhichao-cao thanks for the report, will post a fix soon.

from cachelib.

zhichao-cao avatar zhichao-cao commented on April 16, 2024

@zhichao-cao thanks for the report, will post a fix soon.

Thanks, also this failure appears when it links the cache bench:

/zhichao/CacheLib/opt/cachelib/lib/libzstd.so /usr/lib/x86_64-linux-gnu/libsnappy.so /usr/lib/x86_64-linux-gnu/libdwar
f.so /usr/lib/x86_64-linux-gnu/libiberty.a /usr/lib/x86_64-linux-gnu/libsodium.so -ldl /usr/lib/x86_64-linux-gnu/libun
wind.so /home//CacheLib/opt/cachelib/lib/libgflags_debug.so.2.2.2 -lpthread
/usr/bin/ld: /home/CacheLib/opt/cachelib/lib/libthriftcpp2.so.1.0.0: undefined reference to apache:: thrift::TrustedServerException::requestParsingError(char const*)' /usr/bin/ld: /home/CacheLib/opt/cachelib/lib/libthriftcpp2.so.1.0.0: undefined reference to apache::
thrift::TrustedServerException::unimplementedMethodError(char const*)'
collect2: error: ld returned 1 exit status
make[2]: *** [cachebench/CMakeFiles/cachebench.dir/build.make:145: cachebench/cachebench] Error 1
make[2]: Leaving directory '/home/CacheLib/build-cachelib'
make[1]: *** [CMakeFiles/Makefile2:647: cachebench/CMakeFiles/cachebench.dir/all] Error 2
make[1]: Leaving directory '/home/CacheLib/build-cachelib'
make: *** [Makefile:136: all] Error 2
build-package.sh: error: make failed
build.sh: error: failed to build cachelib

from cachelib.

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.