mcpelauncher-linux icon indicating copy to clipboard operation
mcpelauncher-linux copied to clipboard

Failed compile on manjaro

Open fennectech opened this issue 6 years ago • 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

fennectech avatar May 27 '18 08:05 fennectech

Is that fixed now?

dariotrombello avatar Jun 22 '18 12:06 dariotrombello

Will try it out now.

fennectech avatar Jun 26 '18 20:06 fennectech

the problem still exists.

fennectech avatar Jun 26 '18 21:06 fennectech

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

fennectech avatar Jun 26 '18 21:06 fennectech

Hah missclick

fennectech avatar Jun 26 '18 21:06 fennectech

Install package openssl-1.0 i think its called on manjaro

lukeeey avatar Jun 26 '18 21:06 lukeeey

im on a manjaro system but my libssl1 is fine.

fennectech avatar Jun 26 '18 22:06 fennectech

What version is it

lukeeey avatar Jun 26 '18 22:06 lukeeey

The latest from the git.

fennectech avatar Jun 27 '18 22:06 fennectech

Oh. SSL is the latest package for manjaro

fennectech avatar Jun 27 '18 22:06 fennectech

openssl-1.1.0.h-1

fennectech avatar Jun 28 '18 02:06 fennectech

Already have openssl-1.0-1.0.2.o-1

fennectech avatar Jun 28 '18 04:06 fennectech

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.

lukeeey avatar Jun 28 '18 10:06 lukeeey