mirror of
https://github.com/sg4r/proxmox-backup-client.git
synced 2026-04-25 23:45:48 +03:00
[GH-ISSUE #16] centos 7 import openssl11 #13
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-backup-client#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sg4r on GitHub (Apr 7, 2021).
Original GitHub issue: https://github.com/sg4r/proxmox-backup-client/issues/16
on centos 7 by default openssl version is 1.0
To build version 1.0.11 needs openssl version 1.1.0 or higher for openssl :: pkcs5 :: scrypt function
how to configure this?
DEP_OPENSSL_VERSION_NUMBER=0x1_01_01_00_0
does not work
build/main.rs have this config
enum Version {
Openssl11x,
Openssl10x,
Libressl,
}
@sg4r commented on GitHub (Apr 7, 2021):
[dependencies]
openssl = { version = "0.10", features = ["vendored"] }
from https://docs.rs/openssl/0.10.33/openssl/
read making a *-sys crate https://kornel.ski/rust-sys-crate
@wmorgue commented on GitHub (May 7, 2021):
Hi @sg4r 👋🏻
My comrade @skazochnik97 and I solved the issue with the certificate on CentOS 7.
After installing, I got an error below:
Hm 🤔 Let's start debugging via
strace:The Rust language target build directory with
openssl.cnfconfig file.2-step solution
Create the missing directory:
And finally the last magical step:
Let's try again and we'll see:
That's all 🎉
Maybe the problem is in the build of the rpm package.
Environment: CenOS 7, OpenSSL 1.0.2k-fips 26 Jan 2017 and
proxmox-backup-1.0.11-2.x86_64.el7.rpm.@charliehu commented on GitHub (May 25, 2021):
Im also can reproducate this issue.
@francescor commented on GitHub (Jan 15, 2022):
wmorgue what a genius!!! it works!
@francescor commented on GitHub (Jan 15, 2022):
Please note that the compiled version has this issue for VM with only one CPU https://forum.proxmox.com/threads/using-backup-client-from-within-1-core-vm-stuck-with-futex_wait_private.86136/
solved with the v1.0.6-beta release (client version: 1.0.6 )
@sg4r commented on GitHub (Jan 23, 2022):
hi, i find where set variable to use openssl11 from epel for build proxmox-backup-client
yum install openssl11 openssl11-libs
export OPENSSL_INCLUDE_DIR=/usr/include/openssl11/
export OPENSSL_LIB_DIR=/usr/lib64/openssl11/