mcpelauncher-linux
mcpelauncher-linux copied to clipboard
Make error
[ 73%] Linking CXX executable mcpelauncher /usr/local/lib/libprotobuf.so: error adding symbols: File in wrong format collect2: error: ld returned 1 exit status CMakeFiles/mcpelauncher.dir/build.make:1267: recipe for target 'mcpelauncher' failed make[2]: *** [mcpelauncher] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/mcpelauncher.dir/all' failed make[1]: *** [CMakeFiles/mcpelauncher.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2 denis@denis-HP-Compaq-dc5700-Microtower:~/mcpelauncher-linux/build$
You need install the 32 bit library
what 32bit lib?
It complains about not being able to link "/usr/local/lib/libprotobuf.so" to your 32bit executable because it's the the wrong format ( presumably 64bit )
you can easily test the bit format of any ELF file with the command "file", so file usr/local/lib/libprotobuf.so
it will most likely return "ELF 64-bit LSB shared object"
given the install path I think you've compiled it your self and forgotten to crosscompile for :i386
and how do i crosscompile it?