-
Notifications
You must be signed in to change notification settings - Fork 6
Description
I tried the following:
- dfx nns install
I expected to see this happen: install the nns canisters on the local replica.
Instead, this happened:
The first error that came up was: ic-nns-init: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory.
Looks like the error is because the ic-nns-init binary is looking for the specific libssl.so.1.1 file, instead of the standard libssl.so file that lets the operating system take care of the symlink to the latest version.
Same thing happened with libcrypto: ic-nns-init: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory.
To try to fix the above, in my terminal: sudo ln -s libssl.so libssl.so.1.1 && sudo ln -s libcrypto.so libcrypto.so.1.1
This got past those specific errors but 'dfx nns install' still errored out with a related error: .cache/dfinity/versions/0.12.2-beta.0+rev29.e093d6b4/ic-nns-init: /lib64/libssl.so.1.1: version `OPENSSL_1_1_0' not found
Meta
dfx --version:
cargo build at e093d6b434f8d5cbbc5a0246ca19fb044928e3a3 on a fedora linux
0.12.2-beta.0+rev29.e093d6b4
Further log output
ic-nns-init --url http://127.0.0.1:39197/ --wasm-dir /home/levi/.cache/dfinity/versions/0.12.2-beta.0+rev29.e093d6b4/wasms --initialize-ledger-with-test-accounts 5b315d2f6702cb3a27d826161797d7b2c2e131cd312aece51d4d5574d1247087 --initialize-ledger-with-test-accounts 2b8fbde99de881f695f279d2a892b1137bfe81a42d7694e064b1be58701e1138 --sns-subnet mvlfs-a5ji7-bt26q-ixlh4-g43ai-pog7g-6zg57-p24iv-nww7a-ognxh-wqe
/home/levi/.cache/dfinity/versions/0.12.2-beta.0+rev29.e093d6b4/ic-nns-init: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
Error: Failed to install NNS components.
Caused by: Failed to install NNS components.
Failed to install NNS components.
ic-nns-init call failed
ic-nns-init --url http://127.0.0.1:39197/ --wasm-dir /home/levi/.cache/dfinity/versions/0.12.2-beta.0+rev29.e093d6b4/wasms --initialize-ledger-with-test-accounts 5b315d2f6702cb3a27d826161797d7b2c2e131cd312aece51d4d5574d1247087 --initialize-ledger-with-test-accounts 2b8fbde99de881f695f279d2a892b1137bfe81a42d7694e064b1be58701e1138 --sns-subnet mvlfs-a5ji7-bt26q-ixlh4-g43ai-pog7g-6zg57-p24iv-nww7a-ognxh-wqe
/home/levi/.cache/dfinity/versions/0.12.2-beta.0+rev29.e093d6b4/ic-nns-init: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Error: Failed to install NNS components.
Caused by: Failed to install NNS components.
Failed to install NNS components.
ic-nns-init call failed
ic-nns-init --url http://127.0.0.1:39197/ --wasm-dir /home/levi/.cache/dfinity/versions/0.12.2-beta.0+rev29.e093d6b4/wasms --initialize-ledger-with-test-accounts 5b315d2f6702cb3a27d826161797d7b2c2e131cd312aece51d4d5574d1247087 --initialize-ledger-with-test-accounts 2b8fbde99de881f695f279d2a892b1137bfe81a42d7694e064b1be58701e1138 --sns-subnet mvlfs-a5ji7-bt26q-ixlh4-g43ai-pog7g-6zg57-p24iv-nww7a-ognxh-wqe
/home/levi/.cache/dfinity/versions/0.12.2-beta.0+rev29.e093d6b4/ic-nns-init: /lib64/libssl.so.1.1: version `OPENSSL_1_1_0' not found (required by /home/levi/.cache/dfinity/versions/0.12.2-beta.0+rev29.e093d6b4/ic-nns-init)
/home/levi/.cache/dfinity/versions/0.12.2-beta.0+rev29.e093d6b4/ic-nns-init: /lib64/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /home/levi/.cache/dfinity/versions/0.12.2-beta.0+rev29.e093d6b4/ic-nns-init)
Error: Failed to install NNS components.
Caused by: Failed to install NNS components.
Failed to install NNS components.
ic-nns-init call failed