nbdnbdnbd / pokemonathome

Real-time tracking for Pokémon Go using distributed computing:
http://pokemonathome.herokuapp.com/
0 stars 0 forks source link

Exception while downloading map: wrong ELF class: ELFCLASS64 #1

Closed aclare92 closed 8 years ago

aclare92 commented 8 years ago

Expected Behavior

It should run and download Pokemon successfully.

Current Behavior

When running, getting error

Exception while downloading map: /home/pi/pokemonathome/pogom/libencrypt.so: wrong ELF class: ELFCLASS64

Possible Solution

Steps to Reproduce (for bugs)

  1. Run the script as per instructions, I was using PTC if that helps. Have no Google to test 2. 3. 4.

    Context

    Your Environment

    • Version used: Current master branch
    • Environment name and version (e.g. Python 2.7): Python 2.7.9
    • Operating System and version (desktop or mobile): Raspbian
nbdnbdnbd commented 8 years ago

@aclare92: It seems that libencrypt.so would need to be recompiled for Raspbian. If you are so inclined, you can follow these directions: https://github.com/keyphact/pgoapi/issues/27#issuecomment-238098955

nbdnbdnbd commented 8 years ago

For clarification:

  1. Download http://pastebin.com/raw/fCSw0Fz4 as libencrypt.c
  2. Compile to .so (gcc -shared -o encrypt.so -fPIC libencrypt.c)
  3. Replace pokemonathome/pogom/libencrypt.so with the one you've just generated
  4. Try running PAH again
nbdnbdnbd commented 8 years ago

More binaries have benn added from PokemonGoMap/PokemonGo-Map to broaden OS support. Hopefully this works for Raspbian now