PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

[ERROR] Could not find darwin hashing library libniantichash-osx-64.so on MacOS

Open bobbyc opened this issue 10 years ago • 6 comments

The run.sh could not find libniantichash-osx-64.so. But when I rename libniantichash-macosx-64.dylib as libniantichash-osx-64.so. Everything works fine.

Expected Behavior

libniantichash-osx-64.so should be exist in src/pgoapi/pgoapi/lib folder

Actual Behavior

libniantichash-osx-64.so doesn't exist in src/pgoapi/pgoapi/lib folder. But libniantichash-macosx-64.dylib does exist.

Your FULL config.json (remove your username, password, gmapkey and any other private info)

Output when issue occurred

2016-11-12 00:18:27,500 [pgoapi.utilities] [ERROR] Could not find darwin hashing library ...../PokemonGo-Bot/src/pgoapi/pgoapi/lib/libniantichash-osx-64.so _inventory was not initialized _inventory was not initialized

Steps to Reproduce

Everytime execute ./run.sh

Other Information

OS: MacOS Branch: master

bobbyc avatar Nov 11 '16 16:11 bobbyc

I second this. Bot is currently unusable on MacOS 10.12.2

eurekesh avatar Nov 11 '16 17:11 eurekesh

cd /src/pgoapi/pgoapi/lib/ ln -s libniantichash-macos-64.dylib libniantichash-osx-64.so

claudioferrari avatar Nov 11 '16 17:11 claudioferrari

@claudioferrari Than you so much!!!!! You have no idea how long I've searched for an answer! I can confirm it works!!!!

MacOS 10.12.2

moquette avatar Nov 11 '16 18:11 moquette

Moving forward, extension for mac should be .dylib instead of .so

Should make the changes in init.py, get_hash_lib function

MerlionRock avatar Nov 12 '16 03:11 MerlionRock

Having similar issue with docker version of the bot: Error relocating /usr/src/app/src/pgoapi/pgoapi/lib/libniahash-linux-x86-64.so: __memcpy_chk: symbol not found.

AWSadmin avatar Nov 13 '16 21:11 AWSadmin

Fixed

bobbyc avatar Mar 25 '17 01:03 bobbyc