-
Notifications
You must be signed in to change notification settings - Fork 3k
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
"cmake .." encounter error #23
Comments
You need to specify the OpenSSL include directory
|
@antonchen |
Make sure to clean up the build directory before you rerun cmake. |
@GreaterFire how to fix it? |
Please provide full compilation log. P.S. Try to delete all the files in the build directory by |
@GreaterFire |
and can u pls also provide binary file on linux vps of https://github.com/trojan-gfw/trojan/releases/tag/v0.6.0? |
@GreaterFire |
git clone https://github.com/trojan-gfw/trojan
cd trojan/
git checkout stable
mkdir build
cd build/
cmake ..
after running "cmake .." ,i encounter error as follows:
...
CMake Error at /usr/local/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR: Found unsuitable version "1.0.1t", but
required is at least "1.0.2" (found /usr/lib/x86_64-linux-gnu/libcrypto.so)
Call Stack (most recent call first):
/usr/local/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:376 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake-3.10/Modules/FindOpenSSL.cmake:379 (find_package_handle_standard_args)
CMakeLists.txt:12 (find_package)
-- Configuring incomplete, errors occurred!
See also "/root/trojan/build/CMakeFiles/CMakeOutput.log".
See also "/root/trojan/build/CMakeFiles/CMakeError.log".
root@yms:~/trojan/build#
i already uprade openssl to version1.0.2:
root@yms:
# which openssl# openssl version/usr/local/ssl/bin/openssl
root@yms:
OpenSSL 1.0.2n 7 Dec 2017
how to fix it?
thank you
The text was updated successfully, but these errors were encountered: