RocketChat / Rocket.Chat.RaspberryPi

Run a private social network on your Pi for iPhone and Android devices !
MIT License
337 stars 59 forks source link

snap install yields cannot open shared object file #40

Closed jonnytest1 closed 5 years ago

jonnytest1 commented 5 years ago

Im getting this error just following the steps in the readme

error: cannot perform the following tasks:
- Run configure hook of "rocketchat-server" snap if present (run hook "configure":
-----
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
"((enable)|(disable))" is not a valid, set to enable or disable
-----)

uname -a Linux raspberrypi 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux

cat /etc/os-release ... VERSION_ID="9" VERSION="9 (stretch)" ID=raspbian ID_LIKE=debian ...

nathanRamaNoodles commented 5 years ago

Looks like a problem with the Raspberry Pi's snap core...It isn't there 😄. So just install it and then refresh it:

sudo snap install core
sudo snap refresh core --beta
sudo reboot

Finally, install rocketchat server:

sudo snap install rocketchat-server

The server will be located at http://<ipaddress>:3000

It should work now.