MCMrARM / mcpelauncher-linux

Please note this is a legacy repository, please go to: https://github.com/minecraft-linux/mcpelauncher-manifest/wiki
GNU General Public License v3.0
312 stars 46 forks source link

Failed compile on manjaro #398

Open fennectech opened 6 years ago

fennectech commented 6 years ago

[ 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 toCRYPTO_num_locks' openssl_multithread.cpp:(.text+0x18a): undefined reference to CRYPTO_set_id_callback' openssl_multithread.cpp:(.text+0x1a7): undefined reference toCRYPTO_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

dariotrombello commented 6 years ago

Is that fixed now?

fennectech commented 6 years ago

Will try it out now.

fennectech commented 6 years ago

the problem still exists.

fennectech commented 6 years ago

CMakeFiles/mcpelauncher.dir/src/common/openssl_multithread.cpp.o: In function OpenSSLMultithreadHelper::init()': openssl_multithread.cpp:(.text+0x64): undefined reference toCRYPTO_num_locks' openssl_multithread.cpp:(.text+0x129): undefined reference to CRYPTO_set_id_callback' openssl_multithread.cpp:(.text+0x138): undefined reference toCRYPTO_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 commented 6 years ago

Hah missclick

lukeeey commented 6 years ago

Install package openssl-1.0 i think its called on manjaro

fennectech commented 6 years ago

im on a manjaro system but my libssl1 is fine.

lukeeey commented 6 years ago

What version is it

fennectech commented 6 years ago

The latest from the git.

fennectech commented 6 years ago

Oh. SSL is the latest package for manjaro

fennectech commented 6 years ago

openssl-1.1.0.h-1

fennectech commented 6 years ago

Already have openssl-1.0-1.0.2.o-1

lukeeey commented 6 years ago

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.