AhMyth-Android-RAT icon indicating copy to clipboard operation
AhMyth-Android-RAT copied to clipboard

electron: error while loading shared libraries: libre2.so.8: cannot open shared object file: No such file or directory

Open ZishanAdThandar opened this issue 3 years ago • 1 comments

npm start

> @ start /home/zishan/Desktop/AhMyth-Android-RAT/AhMyth-Server
> electron ./app

electron: error while loading shared libraries: libre2.so.8: cannot open shared object file: No such file or directory
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! @ start: `electron ./app`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the @ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/zishan/.npm/_logs/2020-07-21T08_21_23_522Z-debug.log

ZishanAdThandar avatar Jul 21 '20 08:07 ZishanAdThandar

Solution on manjaro (Arch based LInux): pacman -Sy re2

If re2 is already installed with different version, just link both version, like that Replace the last digit as in error. sudo ln -s /usr/lib/libre2.so /usr/lib/libre2.so.7

ZishanAdThandar avatar Jul 21 '20 08:07 ZishanAdThandar