MCMrARM/mcpelauncher-linux

Failed compile on manjaro

fennectech opened this issue · 13 comments

[ 25%] Built target server
[ 58%] Built target gplayapi
[ 59%] Linking CXX executable mcpelauncher
CMakeFiles/mcpelauncher.dir/src/common/openssl_multithread.cpp.o: In function OpenSSLMultithreadHelper::init()': openssl_multithread.cpp:(.text+0x126): undefined reference to CRYPTO_num_locks'
openssl_multithread.cpp:(.text+0x18a): undefined reference to CRYPTO_set_id_callback' openssl_multithread.cpp:(.text+0x1a7): undefined reference to CRYPTO_set_locking_callback'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/mcpelauncher.dir/build.make:805: mcpelauncher] Error 1
make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/mcpelauncher.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Is that fixed now?

Will try it out now.

the problem still exists.

CMakeFiles/mcpelauncher.dir/src/common/openssl_multithread.cpp.o: In function OpenSSLMultithreadHelper::init()': openssl_multithread.cpp:(.text+0x64): undefined reference to CRYPTO_num_locks'
openssl_multithread.cpp:(.text+0x129): undefined reference to CRYPTO_set_id_callback' openssl_multithread.cpp:(.text+0x138): undefined reference to CRYPTO_set_locking_callback'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/mcpelauncher.dir/build.make:805: mcpelauncher] Error 1
make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/mcpelauncher.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Hah missclick

Install package openssl-1.0 i think its called on manjaro

im on a manjaro system but my libssl1 is fine.

What version is it

The latest from the git.

Oh. SSL is the latest package for manjaro

openssl-1.1.0.h-1

Already have openssl-1.0-1.0.2.o-1

Get rid of 1.1 and try with just 1.0. I read somewhere online that 1.1 deprecated some functions which were in your error message.

That said, im using 1.1.0. I'm not sure, i just googled your error.