-
Notifications
You must be signed in to change notification settings - Fork 725
Description
Describe the issue
building the depends directory on ubuntu goes smoothly
when attempting to build an link the binaries an error is encountered <- below ->
RUSTC="/master/gitrepo/PIVX/depends/x86_64-pc-linux-gnu/share/../native/bin/rustc" TERM=dumb /master/gitrepo/PIVX/depends/x86_64-pc-linux-gnu/share/../native/bin/cargo build --release --manifest-path ../Cargo.toml
/master/gitrepo/PIVX/depends/x86_64-pc-linux-gnu/share/../native/bin/cargo: /usr/lib/x86_64-linux-gnu/libssl.so.1.1: version OPENSSL_1_1_1' not found (required by /master/gitrepo/PIVX/depends/x86_64-pc-linux-gnu/share/../native/bin/cargo) /master/gitrepo/PIVX/depends/x86_64-pc-linux-gnu/share/../native/bin/cargo: /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1: version OPENSSL_1_1_1' not found (required by /master/gitrepo/PIVX/depends/x86_64-pc-linux-gnu/share/../native/bin/cargo)
Makefile:12908: recipe for target 'cargo-build' failed
make[2]: *** [cargo-build] Error 1
This is error is caused by a pre-compiled binary "cargo" embedded in downloaded package from
depends.pivx.org --- rust-1.42.0
The binary "cargo" includes code built AFTER the release of 1.42.0 which requires the openssl-1.1.1 library
At the time of 1.42.0 release, openssl-1.0.2 was required.
exact rust package downloaded from depends.pivx.org
rust-1.42.0-x86_64-unknown-linux-gnu.tar.gz
The system used for the build does not have openssl-1.0.2 or 1.1.1, it has 1.1.0
The requirement for the host system to have a particular version of openssl breaks the "depends" system
Can you reliably reproduce the issue?
YES
If so, please list the steps to reproduce below:
pre-condition, underlying OS must not have openssl 1.1.1
- git clone ..... PIVX...
- cd depends
- make
- cd ../
- ./autogen.sh
- ./configure --prefix=blah blah
- make
Expected behavior
no error
Tell us what should happen
error as shown above
What version of PIVX Core are you using?
latest git clone as of this date
List the version number/commit ID, and if it is an official binary, self compiled or a distribution package.
Machine specs:
- OS: ubuntu 18.04
- CPU: dual Xeon X5570
- RAM: 128 GB
- Disk size: 1.5T
- Disk Type Fully ram buffered with smart controller HP proliant series server
Any extra information that might be useful in the debugging process.
dump of the downloaded rust-1.42.0-x86_64-unknown-linux-gnu.tar.gz
package shows binary file ./cargo/bin/cargo
running this file produces the error
./cargo
./cargo: /usr/lib/x86_64-linux-gnu/libssl.so.1.1: version OPENSSL_1_1_1' not found (required by ./cargo) ./cargo: /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1: version OPENSSL_1_1_1' not found (required by ./cargo)
This BREAKS the depends library completely