Hi!
Following the stake pool course written instructions, using an AWS Linux server, when building the cardano node and cli, I receive the following error message:
“Failed to build HsOpenSSL-0.11.7.2. The failure occurred during the configure
step.”
Detail:
"
…
Starting MonadRandom-0.5.3 (lib)
Starting HsOpenSSL-0.11.7.2 (all, legacy fallback)
Building MonadRandom-0.5.3 (lib)
Starting QuickCheck-2.14.2 (lib)
Installing MonadRandom-0.5.3 (lib)
Building QuickCheck-2.14.2 (lib)
Completed MonadRandom-0.5.3 (lib)
Installing QuickCheck-2.14.2 (lib)
Completed QuickCheck-2.14.2 (lib)
Failed to build HsOpenSSL-0.11.7.2. The failure occurred during the configure
step.
Build log (
/home/ec2-user/.cabal/logs/ghc-8.10.7/HsOpenSSL-0.11.7.2-7440df4a687faaf09a9f33afa2ee178c78db20243d373c92c719b2ba30bf5741.log
):
[1 of 1] Compiling Main ( /home/ec2-user/cardano-src/cardano-node/dist-newstyle/tmp/src-20005/HsOpenSSL-0.11.7.2/dist/setup/setup.hs, /home/ec2-user/cardano-src/cardano-node/dist-newstyle/tmp/src-20005/HsOpenSSL-0.11.7.2/dist/setup/Main.o )
Linking /home/ec2-user/cardano-src/cardano-node/dist-newstyle/tmp/src-20005/HsOpenSSL-0.11.7.2/dist/setup/setup …
Configuring HsOpenSSL-0.11.7.2…
setup: Missing dependencies on foreign libraries:
- Missing (or bad) header file: openssl/asn1.h
- Missing (or bad) C libraries: ssl, crypto
This problem can usually be solved by installing the system packages that
provide these libraries (you may need the “-dev” versions). If the libraries
are already installed but in a non-standard location then you can use the
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.If
the library files do exist, it may contain errors that are caught by the C
compiler at the preprocessing stage. In this case you can re-run configure
with the verbosity flag -v3 to see the error messages.
If the header file does exist, it may contain errors that are caught by the C
compiler at the preprocessing stage. In this case you can re-run configure
with the verbosity flag -v3 to see the error messages.
cabal: Failed to build HsOpenSSL-0.11.7.2 (which is required by
test:cardano-node-test from cardano-node-1.35.0, exe:cardano-node from
cardano-node-1.35.0 and others). See the build log above for details.
"
Any ideas?
KInd regards,
Pfannenstiel