I need CRYPTO_LIBRARY, but what is it?
Moderator: Forum Moderators
- beetlenaut
- Developer
- Posts: 2827
- Joined: December 8th, 2007, 3:21 am
- Location: Washington State
- Contact:
I need CRYPTO_LIBRARY, but what is it?
I can't compile BfW any more.
"CRYPTO_LIBRARY" is pretty non-specific. I have about a hundred crypto-related libraries and packages available, but I don't know which one(s) to install. What is this message referring to, exactly? I'm using openSUSE Leap 42.3 if it helps.cmake wrote:CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
CRYPTO_LIBRARY (ADVANCED)
linked by target "wesnoth" in directory /home/dan/wesnoth/wesnoth/src
Campaigns: Dead Water,
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
-
- Inactive Developer
- Posts: 503
- Joined: April 24th, 2016, 4:18 pm
Re: I need CRYPTO_LIBRARY, but what is it?
On my system (Arch Linux) it's libcrypto.so from OpenSSL
I forked real life and now I'm getting merge conflicts.
- beetlenaut
- Developer
- Posts: 2827
- Joined: December 8th, 2007, 3:21 am
- Location: Washington State
- Contact:
Re: I need CRYPTO_LIBRARY, but what is it?
Thanks! It's apparently the same file on my system. It's in the libopenssl-devel rpm if anyone else is looking for it.
Campaigns: Dead Water,
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
- Pentarctagon
- Project Manager
- Posts: 5566
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: I need CRYPTO_LIBRARY, but what is it?
The Compilingwesnoth wiki page also has a note on this.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: I need CRYPTO_LIBRARY, but what is it?
Didn't work for me out of the box either using ccmake on ubuntu xenial 16.04 (via crouton on HP chromebook 13 G1) with openssl installed.
'make' dies with the following output:
'make' dies with the following output:
Code: Select all
[ 79%] Building CXX object src/CMakeFiles/wesnoth-client.dir/build_info.cpp.o
/home/nate/Downloads/Source/wesnoth-1.14.0/src/build_info.cpp:34:28: fatal error: openssl/crypto.h: No such file or directory
compilation terminated.
src/CMakeFiles/wesnoth-client.dir/build.make:1502: recipe for target 'src/CMakeFiles/wesnoth-client.dir/build_info.cpp.o' failed
make[2]: *** [src/CMakeFiles/wesnoth-client.dir/build_info.cpp.o] Error 1
CMakeFiles/Makefile2:288: recipe for target 'src/CMakeFiles/wesnoth-client.dir/all' failed
make[1]: *** [src/CMakeFiles/wesnoth-client.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
- Pentarctagon
- Project Manager
- Posts: 5566
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: I need CRYPTO_LIBRARY, but what is it?
You also need
libssl-dev
.99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: I need CRYPTO_LIBRARY, but what is it?
Seriously, I would've sworn I installed that as well, until I tried it just now and saw that I didn't. Trying again...
- Pentarctagon
- Project Manager
- Posts: 5566
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: I need CRYPTO_LIBRARY, but what is it?
Wesnoth 1.14 also runs its build/unit tests on a 16.04 docker image built with these packages installed, so really that would be the best place to look, since if there were missing dependencies there then none of Wesnoth's build tests would work.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code