Skip to content

Project refuses to compile with OpenSSL version 1.1.1 #10

@ArniDagur

Description

@ArniDagur
... TRUNCATED ...

--- stderr
thread 'main' panicked at '

This crate is only compatible with OpenSSL 1.0.1, 1.0.2, and 1.1.0, or LibreSSL
2.5 and 2.6.0, but a different version of OpenSSL was found. The build is now
aborting due to this version mismatch.

', /home/arni/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.17/build.rs:463:9
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed

openssl-sys is a dependency of reqwest, so I guess that's what needs to be updated.

[arni@arni-pc][rget]% cargo tree -p openssl-sys -i
openssl-sys v0.9.17
└── openssl v0.9.17
    └── native-tls v0.1.4
        ├── hyper-tls v0.1.2
        │   └── reqwest v0.7.3
        │       └── rget v0.3.2 (/home/arni/OpenSource/rget)
        ├── reqwest v0.7.3 (*)
        └── tokio-tls v0.1.3
            ├── hyper-tls v0.1.2 (*)
            └── reqwest v0.7.3 (*)

As you can see, my OpenSSL version is 1.1.1:

[arni@arni-pc][~]% pacman -Q | grep openssl
openssl 1.1.1.a-1
openssl-1.0 1.0.2.q-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions