RocketChat / Rocket.Chat.Embedded.arm64

An open source journey bringing the latest Rocket.Chat releases to the arm64 universe
MIT License
24 stars 15 forks source link

Unable to run on Ubuntu 18.04 64 bit #3

Closed bfren closed 3 years ago

bfren commented 3 years ago

I've got a clean install of Ubuntu 18.04 64-bit on a Raspberry Pi 4, cloned this repo, and run snapcraft stage then snapcraft snap. Running snapcraft stage runs fine, but when I run snapcraft snap, I get the following:

DEPRECATED: The 'prepare' keyword has been replaced by 'override-build'
See http://snapcraft.io/docs/deprecation-notices/dn7 for more information.
DEPRECATED: The 'prepare' keyword has been replaced by 'override-build'
See http://snapcraft.io/docs/deprecation-notices/dn7 for more information.
DEPRECATED: The 'prepare' keyword has been replaced by 'override-build'
See http://snapcraft.io/docs/deprecation-notices/dn7 for more information.
DEPRECATED: The 'prepare' keyword has been replaced by 'override-build'
See http://snapcraft.io/docs/deprecation-notices/dn7 for more information.
Skipping pull mongodb (already ran)
Skipping pull caddy (already ran)
Skipping pull hooks (already ran)
Skipping pull node (already ran)
Skipping pull rocketchat-server (already ran)
Skipping pull scripts (already ran)
Skipping build mongodb (already ran)
Skipping build caddy (already ran)
Skipping build hooks (already ran)
Skipping build node (already ran)
Skipping build rocketchat-server (already ran)
Skipping build scripts (already ran)
Skipping stage mongodb (already ran)
Skipping stage caddy (already ran)
Skipping stage hooks (already ran)
Skipping stage node (already ran)
Skipping stage rocketchat-server (already ran)
Skipping stage scripts (already ran)
Priming mongodb
The linker version '2.23' used by the base 'core' is incompatible with files in this snap:
    /home/ubuntu/Rocket.Chat.Embedded.arm64/snapdir/prime/usr/lib/aarch64-linux-gnu/libcrypto.so.1.1 (2.25)
    /home/ubuntu/Rocket.Chat.Embedded.arm64/snapdir/prime/usr/lib/aarch64-linux-gnu/libgnutls.so.30.14.10 (2.25)
    /home/ubuntu/Rocket.Chat.Embedded.arm64/snapdir/prime/usr/lib/aarch64-linux-gnu/libgssapi_krb5.so.2.2 (2.27)
    /home/ubuntu/Rocket.Chat.Embedded.arm64/snapdir/prime/usr/lib/aarch64-linux-gnu/libp11-kit.so.0.3.0 (2.26)

And then it quits. Am I doing something wrong?

bfren commented 3 years ago

I've managed to get it working, thanks to this:

$ sudo snap install lxd
$ lxd init
$ snapcraft cleanbuild
$ sudo snap install --dangerous rocketchat-server_3.5.3_arm64.snap

Apparently the issue occurs when building on 18.04 rather than 16.04?

Sing-Li commented 3 years ago

I assume the latest version of 18.04lts and/or 16.04lts has fixed this bug finally. Please open another issue if you are still facing it.