Has anyone managed to build zim-tools
https://github.com/openzim/zim-tools
It's meant for tools working with zim files; zimcheck, zimdiff, zimdump, zimpatch, zimrecreate, zimsearch, zimsplit, zimwriterfs.
They say to use meson, and then ninja to compile.
I seemed to have satisfied meson, but I don't fancy my luck with building it.
https://github.com/openzim/zim-tools
It's meant for tools working with zim files; zimcheck, zimdiff, zimdump, zimpatch, zimrecreate, zimsearch, zimsplit, zimwriterfs.
They say to use meson, and then ninja to compile.
I seemed to have satisfied meson, but I don't fancy my luck with building it.
Code:
# ninja -C build
ninja: Entering directory `build'
[4/4] Linking target src/zimcheck/zimcheck
FAILED: src/zimcheck/zimcheck
c++ -o src/zimcheck/zimcheck src/zimcheck/zimcheck.p/main.cpp.o src/zimcheck/zimcheck.p/zimcheck.cpp.o src/zimcheck/zimcheck.p/checks.cpp.o src/zimcheck/zimcheck.p/json_tools.cpp.o src/zimcheck/zimcheck.p/.._tools.cpp.o src/zimcheck/zimcheck.p/.._metadata.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath,/usr/local/lib -Wl,-rpath-link,/usr/local/lib -Wl,--start-group /usr/local/lib/libzim.so /usr/lib/liblzma.so /usr/local/lib/libzstd.so /usr/local/lib/libxapian.so /usr/local/lib/libicui18n.so /usr/local/lib/libicuuc.so /usr/local/lib/libicudata.so /usr/local/lib/libdocopt.so -Wl,--end-group
ld: error: undefined symbol: pthread_create
>>> referenced by __threading_support:317 (/usr/include/c++/v1/__threading_support:317)
>>> src/zimcheck/zimcheck.p/checks.cpp.o:(std::__1::__libcpp_thread_create[abi:fe180100](pthread**, void* (*)(void*), void*))
c++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.