pgoapi icon indicating copy to clipboard operation
pgoapi copied to clipboard

Not working on raspberry pi (wrong ELF class)

Open giejay opened this issue 7 years ago • 5 comments

Could someone create a cross compiled libencrypt.so for ARM? Or is this already available?

Currently I'm looking at these errors: libencrypt.so: wrong ELF class: ELFCLASS64

giejay avatar Aug 07 '16 11:08 giejay

raspberry is not an AMDx64 cpu its arm... you need to compile the lib on the raspberry again

ProLoDs avatar Aug 07 '16 11:08 ProLoDs

Yeah, I understand that but I dont have any experience with compiling so I wondered if someone already did this

giejay avatar Aug 07 '16 12:08 giejay

go in the src folder: gcc -shared -fPIC encrypt.c -o libencrypt.so -std=c11

ProLoDs avatar Aug 07 '16 12:08 ProLoDs

@giejay https://www.reddit.com/r/pokemongodev/comments/4wjlq5/linux_arm_build/? Though now I'm stuck at the "pogom/libencrypt.so: undefined symbol: encrypt"-error..

zvvyt avatar Aug 07 '16 13:08 zvvyt

The owner renamed the method encrypt to encryptMethod in the latest commit. Therefore I checked out the commit before that one (git checkout 8ecc80689dceaf6b8e68e9d304634e1729f190bf) and it works now:)

giejay avatar Aug 07 '16 14:08 giejay