Comments (25)
I recommend building the official binary in a fresh Debian stable VM with only the minimal packages needed for the build.
from wallet713.
@Sharpiro it's a very simple command, it writes the important stuff in the local directory data
and then it call the binary wallet713
. You can also use ctrl+p ctrl+q
to exit and resume the container.
@jaspervdm would you accept a PR with the Dockerfile
and the instructions ?
from wallet713.
@urza @jmliz @fueleh Would you be willing to test out the latest binary? I think SSL error should be fixed now, finally.
@jaspervdm
yeah i can start that binary! no sslerror.
from wallet713.
https://github.com/vault713/wallet713/blob/master/docs/setup.md#requirements
Install open ssl
from wallet713.
I think that there is in fact a bug in the build environment which is causing it to link against some really weird set of openssl versions. I suspect that the binary won't work on most platforms.
from wallet713.
Still the same error even with OpenSSL installed.
from wallet713.
Fedora currently uses openssl 1.1.1, as it is now the latest LTS and stable version, with no downgrade options. I tried setting up symbolic links as usual, but I'm getting additional errors even after that.
./wallet713: /lib64/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not found (required by ./wallet713)
./wallet713: /lib64/libcrypto.so.1.0.0: version `OPENSSL_1.0.2' not found (required by ./wallet713)
./wallet713: /lib64/libssl.so.1.0.0: version `OPENSSL_1.0.2' not found (required by ./wallet713)
./wallet713: /lib64/libssl.so.1.0.0: version `OPENSSL_1.0.0' not found (required by ./wallet713)
I was able to build 1.0.2 from source, but I don't know how to get rid of those errors. Can we just update wallet713 to use openssl 1.1.1 as it seems like it should now be the standard?
from wallet713.
Also in Debian
E: Package 'libssl1.0.0' has no installation candidate
$ ls /usr/lib/x86_64-linux-gnu/libss*
/usr/lib/x86_64-linux-gnu/libssh2.so.1 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2
/usr/lib/x86_64-linux-gnu/libssh2.so.1.0.1 /usr/lib/x86_64-linux-gnu/libssl.so.1.1
from wallet713.
If you are interested I made this Dockerfile
and It works very well from inside Docker
FROM rust:1.31 as builder
RUN set -ex && \
apt-get update && \
apt-get --no-install-recommends --yes install \
clang \
libclang-dev \
llvm-dev \
libncurses5 \
libncursesw5 \
cmake \
git
WORKDIR /usr/src
# Building grin wallet713
RUN git clone https://github.com/vault713/wallet713 && \
cd wallet713 && \
cargo build --release
# runtime stage
FROM debian:9
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y locales openssl ca-certificates
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales && \
update-locale LANG=en_US.UTF-8
ENV LANG en_US.UTF-8
COPY --from=builder /usr/src/wallet713/target/release/wallet713 /usr/local/bin/wallet713
WORKDIR /
EXPOSE 13413 13414 13415 13416 13417 13418 13419 13420
from wallet713.
@grigio
I've never really used docker, but I was able to build your docker file, but I can't seem to execute any commands.
i'm running:
# 'grinwallet713' is what I named the repo
sudo docker run grinwallet713
but it just returns immediately with no error
from wallet713.
@Sharpiro try with:
docker run --rm --name wallet713 -ti -v $PWD/data:/root/.wallet713 grinwallet713 wallet713
from wallet713.
@grigio
thanks, that command worked!
If you have some time i'd love an explanation on what that command is doing haha.
I read the docs for each one under docker run
, but I'd appreciate some more insight in how you knew those were necessary to get wallet713 functioning.
from wallet713.
Yes, i think having a Dockerfile is very useful
from wallet713.
This should be sorted out in v1.0.1 release.
from wallet713.
After downloading and running new binary release I got this error:
:~/wallet713$ ./wallet713
./wallet713: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
Press any key to continue...
I am on Debian GNU/Linux 9.4 (stretch)
kernel 4.9.0-4-amd64
openssl version in debian is:
:~/wallet713$ apt-cache policy openssl
openssl:
Installed: 1.1.0f-3+deb9u2
Candidate: 1.1.0f-3+deb9u2
from wallet713.
Updated debian to latest version, but unfortunately no change for wallet713, the same error message.
debian 9.7
kernel 4.9.0-4-amd64
openssl: Installed: 1.1.0j-1~deb9
from wallet713.
Getting this error again on Fedora 29 for version 1.1.0.
from wallet713.
Getting this error still.
from wallet713.
I want to believe that we finally, once and for all, have put this issue to bed.
Try the new streamlined download and install experience here:
https://wallet.713.mw/install
Let me know if it works. 🤺
from wallet713.
still not working
[user@pc ~]$ curl https://wallet.713.mw/install.sh -sSf | sh
\033[1;34mWallet713 binary installer 1.0\033[0m
\033[1;30m
Configuration: [amd64]
Location: [https://github.com/vault713/wallet713/releases/download/v1.1.1/wallet713-v1.1.1-508990898-linux-amd64.tgz]
Directory: [/home/user/bin]
\033[0m
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 633 0 633 0 0 909 0 --:--:-- --:--:-- --:--:-- 908
100 5661k 100 5661k 0 0 208k 0 0:00:27 0:00:27 --:--:-- 260k
\033[0;32m
Installation completed successfully.
$ wallet713 --version
/home/user/bin/wallet713: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
\nRun 'wallet713' from the command line to open the wallet
\033[0m
Let me know if it works.
I don't know but I would expect you tested it and at least confirmed it works in a default distro install so I can expect something.
from wallet713.
@jmliz thanks for reporting. We did indeed do several tests, but not on Fedora 29 specifically. Investigating.
from wallet713.
wallet713
wallet713: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
i got this problem when i updated to ubuntu 19.04.
i could build it so got it working that way.
from wallet713.
@urza @jmliz @fueleh Would you be willing to test out the latest binary? I think SSL error should be fixed now, finally.
from wallet713.
works fine for me on Ubuntu 18.04
I no longer have the debian box though..
from wallet713.
Given that we have received no new reports of broken binaries for a while, I am assuming the fixes we implemented some time ago were sufficient.
from wallet713.
Related Issues (20)
- support two unlock for foreign api and owner api
- Transactions failed, coins locked up & awaiting conf for 18 billion grin HOT 10
- Build error "Box::new(self.db.iter(&[CONTACT_PREFIX]).unwrap())" HOT 2
- update usage instructions about using a passphrase
- Publish Dockerhub Images
- Info shows enormous amount of grins after sending grin HOT 2
- Auto build Windows binaries HOT 1
- Allow HTTP transfers HOT 1
- History can leak seed and password with typo HOT 1
- Add API endpoint for issuing invoices HOT 1
- Refreshing wallet outputs produces very long URIs HOT 2
- Grin Node is outdated (but I don't think it should be) HOT 2
- beta2 crashes on windows after restoring wallet HOT 2
- send via grinbox address error HOT 1
- 2.0.0 wallet struggles to connect to node on linux HOT 4
- Latest master fails to build with rust 1.38.0 HOT 1
- help,how can i get floonet coin
- Restoring wallet when passphrase is forgotten
- Error: Restore Error HOT 2
- master docker build is broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wallet713.