-
Notifications
You must be signed in to change notification settings - Fork 6
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
"libsodium is required" appeared even libsodium is correctly installed #1
Comments
Same here, on archlinux
I have no clue about CMake, but I tried hardcoding the sodium include dir. Then I got the error that sodium_LIBRARY_RELEASE was not defined. Not sure if this should be set to the version number of sodium ... anyway, at that point I decided I've been wasting enough time on this :-) |
I downloaded the latest version of Findsodium.cmake from https://github.com/jedisct1/libsodium/blob/master/contrib/Findsodium.cmake but still no success. |
It's obviously an error of the upstream Findsodium.cmake, though since it's "just" a file in a contrib directory under libsodium, I'm not sure the issue tracker at the libsodium github is the proper place for it. |
Worked with the latest libsodium installation guide https://libsodium.gitbook.io/doc/installation |
I should try to check that up ... if I only could find some time for it. Since the original reporter had problems when installing it from the official tarball as well as through brew, and I can't get it to work with libsodium installed through archlinux/pacman, I would guess Findsodium fails due to other reasons, i.e. some other missing dependency. I wish I had the skills to debug it. |
This has been only tested by myself on Gentoo, where I haven't got any issues with finding libsodium. If some changes in Findsodium.cmake or elsewhere helps, I open to pull requests. |
I've got the latest MacOS betas of everything, loads of system warning for early unsupported software, but libsodium "works". The CMake file though seems to be incomplete: `CMake Warning (dev) in CMakeLists.txt:
near the top of the file, but after cmake_minimum_required(). CMake is pretending there is a "project(Project)" command on the first However, this is probably not related to my next, and perhaps final, error:
This was fixed by export LDFLAGS='-L/usr/local/lib/' , but it does make me wonder how come CMake does not do that automatically, I thought that was the entire point of cmake. |
When running
make .
, the error keep comingIt happened no matter I installed libsodium by
brew install libsodium
or by tar ball provided by official website(I am using Mac OSX High Sierra 10.13.6)
Thank you!
The text was updated successfully, but these errors were encountered: