-
Notifications
You must be signed in to change notification settings - Fork 72
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
Math library not found #504
Comments
My daemon is out of sync, and looking at the past two releases, it seems I really should update. But I cannot because this math library error keeps coming up. I would really appreciate some pointers towards fixing this, and I'm not afraid of getting technical -- |
Found the fix: it needs the ld.gold linker. I remember an earlier build issue that was fixed by using the Gold linker. Gentoo doesn't provide it any more, but another project with the same issue mentioned that a simple symlink might work:
It works, now Zano builds and runs as intended. |
@teknohog hey, sorry about your issue, we had a quite turbulent night yesterday due to consensus issue, update is really necessary. I appreciate that you have found solution, i'll ask someone to take a look into it and include fix into next commits. Meanwhile feel free to reach out to me in our discord server if need more quick reaction to situations like this. |
-- Looking for __gcov_flush in gcov
-- Looking for __gcov_flush in gcov - not found
-- Looking for C++ include valgrind/memcheck.h
-- Looking for C++ include valgrind/memcheck.h - not found
-- Looking for pow
-- Looking for pow - not found
-- Looking for pow
-- Looking for pow - not found
CMake Error at contrib/db/libmdbx/CMakeLists.txt:164 (message):
No libm found for math support
My cmake command includes a few custom settings so that I can use my system libraries (boost, openssl) with dynamic linking:
cmake -DBoost_NO_BOOST_CMAKE=TRUE -DBoost_USE_STATIC_LIBS=FALSE -DDISABLE_TOR=TRUE -DBUILD_GUI=FALSE -DOPENSSL_INCLUDE_DIR:FILEPATH=/usr/include/openssl -DOPENSSL_CRYPTO_LIBRARY:FILEPATH=/usr/lib64/libcrypto.so -DOPENSSL_SSL_LIBRARY:FILEPATH=/usr/lib64/libssl.so -DBOOST_ROOT:PATHNAME=/usr ..
However, the math library error seems unrelated to these. I'm also using
gcc 12.4.1
cmake 3.31.5
boost 1.87.0
but I get the same issue with gcc 11.5.0 or 13.3.1, and boost 1.84.0.
The text was updated successfully, but these errors were encountered: