You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build licensecc on Arch Linux and I get an error. I've tried on the develop branch and v2.0.0.
First I ran cmake .. -DCMAKE_INSTALL_PREFIX=../install -DOPENSSL_INCLUDE_DIR=/usr/include/openssl -DOPENSSL_SSL_LIBRARY=/usr/lib -DOPENSSL_CRYPTO_LIBRARY=/usr/lib/libcrypto.so.1.1, from this comment, which worked. Then I ran make and got this error:
[ 11%] Building CXX object extern/license-generator/src/license_generator/CMakeFiles/lccgen.dir/open-license-main.cpp.o
[ 12%] Linking CXX executable lccgen
/usr/bin/ld: liblicense_generator_lib.a(crypto_helper_ssl.cpp.o): in function `license::CryptoHelperLinux::generateKeyPair()':
crypto_helper_ssl.cpp:(.text+0xf4): undefined reference to `EVP_PKEY_CTX_set_rsa_keygen_bits'
/usr/bin/ld: liblicense_generator_lib.a(crypto_helper_ssl.cpp.o): in function `license::CryptoHelperLinux::signString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
crypto_helper_ssl.cpp:(.text+0x6f4): undefined reference to `EVP_DigestSignUpdate'
collect2: error: ld returned 1 exit status
make[2]: *** [extern/license-generator/src/license_generator/CMakeFiles/lccgen.dir/build.make:106: extern/license-generator/src/license_generator/lccgen] Error 1
make[1]: *** [CMakeFiles/Makefile2:1220: extern/license-generator/src/license_generator/CMakeFiles/lccgen.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
The text was updated successfully, but these errors were encountered:
fineless71
changed the title
Build error
Build error (undefined reference to `EVP_PKEY_CTX_set_rsa_keygen_bits')
Feb 26, 2023
I'm trying to build licensecc on Arch Linux and I get an error. I've tried on the develop branch and v2.0.0.
First I ran
cmake .. -DCMAKE_INSTALL_PREFIX=../install -DOPENSSL_INCLUDE_DIR=/usr/include/openssl -DOPENSSL_SSL_LIBRARY=/usr/lib -DOPENSSL_CRYPTO_LIBRARY=/usr/lib/libcrypto.so.1.1
, from this comment, which worked. Then I ranmake
and got this error:The text was updated successfully, but these errors were encountered: