-
Notifications
You must be signed in to change notification settings - Fork 4
/
if-libssl1.10-is-missing
91 lines (66 loc) · 3.08 KB
/
if-libssl1.10-is-missing
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
Referring to an issue:
looking here
https://github.com/paritytech/parity/issues/7826
a double of https://github.com/paritytech/parity/issues/7792
also little to do with
https://github.com/paritytech/parity/pull/7830
however- i needed a little "faster" solution to this-
how to do-
compile your own was my answer and it worked-
step by step
asking the system
with openssl version gave out some "1.0.x"
which was not working with the intended
parity version 1.9.3 which i was about to be build afterwards without the error
dropped from the log-file
------
error: failed to run custom build command for `openssl-sys v0.9.23`
process didn't exit successfully: `/home/jm/parity-1.9.3/target/debug/build/openssl-sys-d9848ac49e86ba14/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR
cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR
cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR
cargo:rerun-if-env-changed=OPENSSL_DIR
run pkg_config fail: "Failed to run `\"pkg-config\" \"--libs\" \"--cflags\" \"openssl\"`: No such file or directory (os error 2)"
--- stderr
thread 'main' panicked at '
Could not find directory of OpenSSL installation, and this `-sys` crate cannot
proceed without this knowledge. If OpenSSL is installed and this crate had
trouble finding it, you can set the `OPENSSL_DIR` environment variable for the
compilation process.
If you're in a situation where you think the directory *should* be found
automatically, please open a bug at https://github.com/sfackler/rust-openssl
and include information about your system as well as this message.
$HOST = x86_64-unknown-linux-gnu
$TARGET = x86_64-unknown-linux-gnu
openssl-sys = 0.9.23
It looks like you're compiling on Linux and also targeting Linux. Currently this
requires the `pkg-config` utility to find OpenSSL but unfortunately `pkg-config`
could not be found. If you have OpenSSL installed you can likely fix this by
installing `pkg-config`.
------
so we had an error throwing parity pre-build which did not have the right ssl-version
we wanted to come to following:
roninkaizen@nerfmalnichtrumjetzt:~$ openssl version
OpenSSL 1.1.0g 2 Nov 2017
easy going-few steps-
get openssl
get it here
https://codeload.github.com/openssl/openssl/tar.gz/OpenSSL_1_1_0g
check if the file with md5 or something else-
this is a security relevant subsystem therefore be sure what you change within your system-
do not harm any other interests or projects!
extract from the above mentioned archive
now follow him
https://forums.servethehome.com/index.php?resources/installing-openssl-1-1-0-on-ubuntu.21/
i cite the decisive lines
./config -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)'
make
sudo make install
i restarted my system afterwards also for other reasons and got afterwards following out
openssl version
OpenSSL 1.1.0g 2 Nov 2017
as done like that "it" works also for you on an ubuntu 16.04.x version trying to run or to build
any parity version larger that 1.8.8.