GithubHelp home page GithubHelp logo

Comments (25)

theymos avatar theymos commented on May 31, 2024 1

I recommend building the official binary in a fresh Debian stable VM with only the minimal packages needed for the build.

from wallet713.

grigio avatar grigio commented on May 31, 2024 1

@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.

fueleh avatar fueleh commented on May 31, 2024 1

@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.

lehnberg avatar lehnberg commented on May 31, 2024

https://github.com/vault713/wallet713/blob/master/docs/setup.md#requirements

Install open ssl

from wallet713.

theymos avatar theymos commented on May 31, 2024

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.

urza avatar urza commented on May 31, 2024

Still the same error even with OpenSSL installed.

from wallet713.

Sharpiro avatar Sharpiro commented on May 31, 2024

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.

grigio avatar grigio commented on May 31, 2024

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.

grigio avatar grigio commented on May 31, 2024

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.

Sharpiro avatar Sharpiro commented on May 31, 2024

@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.

grigio avatar grigio commented on May 31, 2024

@Sharpiro try with:
docker run --rm --name wallet713 -ti -v $PWD/data:/root/.wallet713 grinwallet713 wallet713

from wallet713.

Sharpiro avatar Sharpiro commented on May 31, 2024

@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.

jaspervdm avatar jaspervdm commented on May 31, 2024

Yes, i think having a Dockerfile is very useful

from wallet713.

ravidio avatar ravidio commented on May 31, 2024

This should be sorted out in v1.0.1 release.

from wallet713.

urza avatar urza commented on May 31, 2024

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.

urza avatar urza commented on May 31, 2024

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.

 avatar commented on May 31, 2024

Getting this error again on Fedora 29 for version 1.1.0.

from wallet713.

ASHERH4X avatar ASHERH4X commented on May 31, 2024

Getting this error still.

from wallet713.

lehnberg avatar lehnberg commented on May 31, 2024

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.

 avatar commented on May 31, 2024

@lehnberg

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.

lehnberg avatar lehnberg commented on May 31, 2024

@jmliz thanks for reporting. We did indeed do several tests, but not on Fedora 29 specifically. Investigating.

from wallet713.

fueleh avatar fueleh commented on May 31, 2024

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.

jaspervdm avatar jaspervdm commented on May 31, 2024

@urza @jmliz @fueleh Would you be willing to test out the latest binary? I think SSL error should be fixed now, finally.

from wallet713.

urza avatar urza commented on May 31, 2024

@jaspervdm

works fine for me on Ubuntu 18.04

I no longer have the debian box though..

from wallet713.

jaspervdm avatar jaspervdm commented on May 31, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.