Giter Club home page Giter Club logo

Comments (13)

fmrsabino avatar fmrsabino commented on September 18, 2024 1

It seems that you are missing the required openssl libs on your machine.

Have you tried following the recommendation of the error message?

More specifically:

  You can try fixing this setting the `OPENSSL_DIR` environment variable
  pointing to your OpenSSL installation or installing OpenSSL headers package
  specific to your distribution:

      # On Ubuntu
      sudo apt-get install libssl-dev
      # On Arch Linux
      sudo pacman -S openssl
      # On Fedora
      sudo dnf install openssl-devel

from safe-client-gateway.

gzliudan avatar gzliudan commented on September 18, 2024 1

OK, I will try 1.1.1 tomorrow.

from safe-client-gateway.

gzliudan avatar gzliudan commented on September 18, 2024 1

cargo test is also ok.

Command:

cargo test -- --test-threads 1

Result:

test result: ok. 377 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.72s

from safe-client-gateway.

gzliudan avatar gzliudan commented on September 18, 2024 1

Then no problem.

from safe-client-gateway.

gzliudan avatar gzliudan commented on September 18, 2024

libssl-dev has been installed already.

from safe-client-gateway.

fmrsabino avatar fmrsabino commented on September 18, 2024

libssl-dev has been installed already.

Can you show what is the output of the following:

openssl version

from safe-client-gateway.

gzliudan avatar gzliudan commented on September 18, 2024

1670862377798

from safe-client-gateway.

fmrsabino avatar fmrsabino commented on September 18, 2024

1670862377798

This project requires OpenSSL 1.1.1. We should specify this better in the README.

You can download that version from https://www.openssl.org/source/. You could then point to that version using OPENSSL_DIR=/path/to/1.1.1 cargo run

from safe-client-gateway.

fmrsabino avatar fmrsabino commented on September 18, 2024

This project requires OpenSSL 1.1.1. We should specify this better in the README.

You can download that version from https://www.openssl.org/source/. You could then point to that version using OPENSSL_DIR=/path/to/1.1.1 cargo run

There can be an alternative approach to this. Can you try the following:

git checkout update-openssl
cargo run

And check if it works now?

from safe-client-gateway.

gzliudan avatar gzliudan commented on September 18, 2024

Thank you very much. cargo run works with new branch update-openssl now. But it is not recommended that modify file Cargo.lock directly.

from safe-client-gateway.

fmrsabino avatar fmrsabino commented on September 18, 2024

Thank you very much. cargo run works with new branch update-openssl now. But it is not recommended that modify file Cargo.lock directly.

Can you explain why? I've updated the dependency via cargo update which should still be in the expected bounds of the dependencies in the project that depend on it.

from safe-client-gateway.

gzliudan avatar gzliudan commented on September 18, 2024

It's better to modify the file Cargo.toml. The file Cargo.lock say:

# This file is automatically @generated by Cargo.
# It is not intended for manual editing.

from safe-client-gateway.

fmrsabino avatar fmrsabino commented on September 18, 2024

It's better to modify the file Cargo.toml. The file Cargo.lock say:

# This file is automatically @generated by Cargo.
# It is not intended for manual editing.

This was not manually edited. This was updated via cargo update. See https://doc.rust-lang.org/cargo/commands/cargo-update.html

from safe-client-gateway.

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.