-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when building from source code: /usr/bin/ld: cannot find -lzstd: No such file or directory #1020
Comments
I will answer my question. It was because of the missing package: libzstd-dev. |
Thanks for finding this out yourself, In our timezone it was the middle of the night:). |
Yes, I compiled it successfully in my personal ubuntu. But I'm really suffering to compile it on CentOS (CentOS Linux release 7.9.2009 (Core)). It will be highly appreciated if you could help with that. Thank you in advance! |
The error went like this on CentOS 7.9.2009: ...
In file included from /../qlever/qlever-code/third_party/googletest/googletest/include/gtest/gtest-message.h:55,
from /../qlever/qlever-code/third_party/googletest/googletest/include/gtest/gtest-assertion-result.h:46,
from /../qlever/qlever-code/third_party/googletest/googletest/include/gtest/gtest.h:59,
from /../qlever/qlever-code/src/util/../parser/TokenizerCtre.h:8,
from /../qlever/qlever-code/src/util/Conversions.cpp:17:
/../qlever/qlever-code/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:927:3: error: 'regex_t' does not name a type
927 | regex_t full_regex_; // For FullMatch().
| ^~~~~~~
/../qlever/qlever-code/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:928:3: error: 'regex_t' does not name a type
928 | regex_t partial_regex_; // For PartialMatch().
| ^~~~~~~
make[2]: *** [src/util/CMakeFiles/util.dir/build.make:104: src/util/CMakeFiles/util.dir/Conversions.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6065: src/util/CMakeFiles/util.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
... |
@leonqli Any progress on this? |
@hannahbast Unfortunately, No. I'm still waiting for documentation that could cover compiling for different platforms. |
@leonqli For Ubuntu 22.04, the following packages need to be installed (see the Dockerfile):
Did you install the corresponding packages on your CentOS? And is there a reason why you don't run everything in docker? It's certainly the easiest way. |
Here are some hints for compiling it on your CentOS, have you tried them?
|
If this does not help, please let us know the exact sequence of packages you installed. In particular, how did you install cmake and boost |
@leonqli Just want to note that the boost version shipping as a package with cent-os 7 series and the equivalent 8 series is not compatible with the one required by QLever, so that must be installed from scratch. I find that using podman is rather the easiest way to run and build QLever on Cent-OS derivatives. |
@leonqli: In case podman is not working for you (It is compatible to Docker but without the security concerns as it always runs in userspace as far as I understand (thanks @JervenBolleman for the hint), then you can also try or just suggest a good time for a meeting with me, then we can do this together and then immediately write the instructions, s.t. future users have it easier. (Times would be "your morning" s.t. it is "my afternoon". |
I am closing this as stale, and I think that we have fixed these issues in a 1-to-1 meeting |
Please help! Thanks!
Linux 5.14.0-1033-oem #36-Ubuntu SMP Mon Apr 4 15:15:49 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: