scottstamp / PokemonGo-Map

Reuploaded from AHAAAAAAA/PokemonGo-Map with latest fixes
GNU Affero General Public License v3.0
23 stars 23 forks source link

Exception while processing libencrypt.so #7

Closed nkcheng255 closed 7 years ago

nkcheng255 commented 7 years ago

Current Behavior

Exception while downloading map: dlopen(/root/PoGoMap/pogom/libencrypt.so, 6): no suitable image found. Did find: /root/PoGoMap/pogom/libencrypt.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00

Steps to Reproduce (for bugs)

run python runserver.py

imynwulf commented 7 years ago

The usage of this encluded libencrypt depends on the distribution of linux that was used to compile it. You'll need to compile the library for OS X from source, then replace the included version with that.

DragoonZ commented 7 years ago

how can I compile it by myself?

nkcheng255 commented 7 years ago
  1. get the encrypt.c file
  2. run this command in your terminal: gcc -shared -o libencrypt.so -fPIC encrypt.c
DragoonZ commented 7 years ago

@desource90 where can I find the encrypt.c file?

imynwulf commented 7 years ago

@DragoonZ Do a little bit of digging around. It's not that hard to track down.

nkcheng255 commented 7 years ago

@imynwulf Thanks for the pointer. It works now.