Giter VIP home page Giter VIP logo

Comments (3)

rockeet avatar rockeet commented on May 13, 2024

This needs installing prerequisit:

sudo apt-get update -y
sudo apt-get install -y libjemalloc-dev libaio-dev libgflags-dev zlib1g-dev libbz2-dev libcurl4-gnutls-dev liburing-dev

from toplingdb.

KevinMyDing avatar KevinMyDing commented on May 13, 2024

我也在ubuntu 22.04下编译失败, 我已经根据安装了所需的库,报错信息如下:

Linking ... build/Linux-x86_64-g++-11.4-bmi2-1/rls/dcompact_worker.exe
g++  -Wl,-unresolved-symbols=ignore-in-shared-libs -lcurl -o build/Linux-x86_64-g++-11.4-bmi2-1/rls/dcompact_worker.exe build/Linux-x86_64-g++-11.4-bmi2-1/rls/dcompact_worker.o -L../../../.. -lrocksdb -L../../../topling-zip/build/Linux-x86_64-g++-11.4-bmi2-1/lib_shared -lterark-{zbs,fsa,core}-g++-11.4-r -lrt -lpthread -ljemalloc 
/usr/bin/ld: build/Linux-x86_64-g++-11.4-bmi2-1/rls/dcompact_worker.o: in function `rocksdb::HttpGet(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/root/toplingdb/sideplugin/topling-dcompact/tools/dcompact/dcompact_worker.cpp:153: undefined reference to `curl_easy_init'
/usr/bin/ld: /root/toplingdb/sideplugin/topling-dcompact/tools/dcompact/dcompact_worker.cpp:156: undefined reference to `curl_easy_setopt'
/usr/bin/ld: /root/toplingdb/sideplugin/topling-dcompact/tools/dcompact/dcompact_worker.cpp:157: undefined reference to `curl_easy_setopt'
/usr/bin/ld: /root/toplingdb/sideplugin/topling-dcompact/tools/dcompact/dcompact_worker.cpp:158: undefined reference to `curl_easy_setopt'
/usr/bin/ld: /root/toplingdb/sideplugin/topling-dcompact/tools/dcompact/dcompact_worker.cpp:159: undefined reference to `curl_easy_setopt'
/usr/bin/ld: /root/toplingdb/sideplugin/topling-dcompact/tools/dcompact/dcompact_worker.cpp:161: undefined reference to `curl_easy_setopt'
/usr/bin/ld: build/Linux-x86_64-g++-11.4-bmi2-1/rls/dcompact_worker.o:/root/toplingdb/sideplugin/topling-dcompact/tools/dcompact/dcompact_worker.cpp:162: more undefined references to `curl_easy_setopt' follow
/usr/bin/ld: build/Linux-x86_64-g++-11.4-bmi2-1/rls/dcompact_worker.o: in function `rocksdb::HttpGet(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/root/toplingdb/sideplugin/topling-dcompact/tools/dcompact/dcompact_worker.cpp:166: undefined reference to `curl_easy_perform'
/usr/bin/ld: /root/toplingdb/sideplugin/topling-dcompact/tools/dcompact/dcompact_worker.cpp:177: undefined reference to `curl_easy_strerror'
/usr/bin/ld: /root/toplingdb/sideplugin/topling-dcompact/tools/dcompact/dcompact_worker.cpp:188: undefined reference to `curl_easy_cleanup'
/usr/bin/ld: /root/toplingdb/sideplugin/topling-dcompact/tools/dcompact/dcompact_worker.cpp:182: undefined reference to `curl_easy_getinfo'
/usr/bin/ld: /root/toplingdb/sideplugin/topling-dcompact/tools/dcompact/dcompact_worker.cpp:184: undefined reference to `curl_easy_strerror'
collect2: error: ld returned 1 exit status
make[1]: *** [exe-common.mk:325: build/Linux-x86_64-g++-11.4-bmi2-1/rls/dcompact_worker.exe] Error 1
make[1]: Leaving directory '/root/toplingdb/sideplugin/topling-dcompact/tools/dcompact'
make: *** [Makefile:3124: dcompact_worker] Error 2

from toplingdb.

rockeet avatar rockeet commented on May 13, 2024

@KevinMyDing Fixed by commit topling/topling-dcompact@ca7b4d4

from toplingdb.

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.