Comments (3)
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.
我也在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.
@KevinMyDing Fixed by commit topling/topling-dcompact@ca7b4d4
from toplingdb.
Related Issues (20)
- MergingIterator: add key_prefix cache
- CompactionJob::FinishCompactionOutputFile: sync FileMeta with TableProperties
- make check failed
- Reduce max/min key computation in SstFileWriter
- SstFileWriter: Allow unsorted input Key Value sequence
- version 7.09: MergingIterator devirtualization and prefix cache HOT 1
- Feature: Show SidePlugin objects referecing graph
- Feature: Show SidePlugin objects referecing graph (dynamic)
- Coroutine lib and io_uring runtime HOT 1
- Feature Request: Add DB::ApproximateKeyAnchors
- Feature Request: Iterator::Refresh() with a snapshot HOT 1
- Lazy Load Value for DBIter::Prev
- Omit compare user key in GetContext::SaveValue when applicable HOT 1
- Omit compare userkey in memtable get
- ToplingZipTable Builder: support distributed compressing
- Enhancement: FixedLenKeyIndex: remove same bytes in the middle HOT 1
- RLE compression on column
- Omit L0 Flush
- Add WBWIIterator to MergingIterator HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toplingdb.