Blockstream / green_qt

Blockstream Green App
GNU General Public License v3.0
216 stars 34 forks source link

Does not run on Ubuntu xenial #21

Open probonopd opened 4 years ago

probonopd commented 4 years ago

Does not run on Ubuntu xenial because it was built on a too new system:

/run/firejail/appimage/.appimage-9164/AppRun: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by /run/firejail/appimage/.appimage-9164/AppRun)

Please see https://github.com/AppImage/AppImageKit/wiki/Creating-AppImages/cc2441518975caca23e9ce2dba6f08a22c678d1e#creating-appimages-that-are-compatible-with-many-systems for details.

Reference: https://github.com/AppImage/appimage.github.io/pull/2012

domegabri commented 4 years ago

Thanks for the report. The upcoming release will include a binary beside the usual AppImage. Let us know if you can run the app with the binary.

greenaddress commented 4 years ago

@probonopd We have two binaries for Linux, appimage and static binary.

The app image may have a lower bound of Ubuntu Bionic (18.04) however the static binary should work down to Ubuntu 10.04.4 (Lucid Lynx) and down to Debian 6.0.9 (Squeeze) and in general work with glibc down to 2.11.1

Please let us know if works for you. Link to the latest binary https://github.com/Blockstream/green_qt/releases/download/release_0.0.1-beta7/GreenQt_Linux_x86_64.tar.gz

greenaddress commented 4 years ago

@probonopd newer binary available here https://github.com/Blockstream/green_qt/releases/download/release_0.0.1/GreenQt_Linux_x86_64.tar.gz

conscott commented 4 years ago

For either of those binaries I still get ./Green: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.25 not found (required by ./Green)

I have GLIBC 2.23

greenaddress commented 4 years ago

thanks @conscott , will look into it

bitcoinoplomo commented 4 years ago

I build it from source using the instructions for Linux.

docker run -v $PWD:/ga greenaddress/ci@sha256:a1369e0a93d521c49eeb9d8f2b8013ac63ed4d5bc7a026cbacc77ac717408e75 /bin/sh -c "cd /ga && ./tools/buildgreen.sh linux && cp /docker_bld_root/build-linux-gcc/Green /ga/Green"

But when running Green

$ ./Green 
./Green: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by ./Green)
./Green: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by ./Green)
./Green: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by ./Green)
./Green: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by ./Green)

And I also have GLIBC 2.23

$ ldd --version
ldd (GNU libc) 2.23
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

I use Slackware 64 14.2. I don't know if other people with other distros are having some issue. But the BUILD.md says

This BUILD.md file assumes you are building for Windows and Linux on Ubuntu 18.04 and for OSX on latest OSX.   

So for distros still using older GCC versions should be not supported.

bitcoinoplomo commented 4 years ago

It will be possible to run it in Nix as a nixpackage in the near future?