invalid ELF header for ./encrypt.so
Currently running Docker in MacOS, did the full installation and config setups. After getting encrypt no file found, I followed the steps to remake the libencrypt.so and renamed it to encrypt.so and put into PokemonGo-Bot/ directory...However running the new build, it returns:
File "pokecli.py", line 493, in
Please help :S
Had same problem with linux64 bit but after recompiling encrypt.so it worked. maybe you still have the wrong encrypt.so in your path that the bot is searching
How to make an encrypt.so on windows? I met the same problem
Run this command on the system you gonna run the script.
wget http://pgoapi.com/pgoencrypt.tar.gz && tar -xf pgoencrypt.tar.gz && cd pgoencrypt/src/ && make
After that copy the libencrypt.so to your bot directory and rename it to encrypt.so. This file is different for each system so recreate when ever you switch systems.
Thanks senpai you are great!!!
https://github.com/PokemonGoF/PokemonGo-Bot/issues/2780
Expected Behavior
Successful Run
Actual Behavior
OSError: encrypt.so: invalid ELF header
Steps to Reproduce
docker run --name=bot1-pokego --rm -it -v $(pwd)/configs/config-account1.json:/usr/src/app/configs/config.json pokemongo-bot
Other Information
OS: OSX Git Commit: 81e16731200ff50c4cfe8a0ad049eac7f5441368 Python Version: 2.7.12
i follow above method but still not working. ./run.sh is working fine. I also read about #2808 #2780
I'm having same problem as @ytyeoh and I see that, in docker
Found encrypt.so! Platform: linux2 encrypt.so directory: /usr/src/app
but in my system:
Found encrypt.so! Platform: darwin encrypt.so directory