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

Make error

Open laqyx opened this issue 7 years ago • 4 comments

[ 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$

laqyx avatar Jan 31 '18 13:01 laqyx

You need install the 32 bit library

codehz avatar Feb 07 '18 12:02 codehz

what 32bit lib?

laqyx avatar Feb 07 '18 13:02 laqyx

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

guppy42 avatar Feb 07 '18 13:02 guppy42

and how do i crosscompile it?

laqyx avatar Feb 07 '18 14:02 laqyx