Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting entropy-0.4.1.5 Starting base16-bytestring-0.1.1.6 Starting cereal-0.5.8.1 Starting hashable-1.3.0.0 Building base16-bytestring-0.1.1.6 Building cereal-0.5.8.1 Building hashable-1.3.0.0 Completed base16-bytestring-0.1.1.6 Starting random-1.1 Building random-1.1 Building entropy-0.4.1.5 Completed hashable-1.3.0.0 Starting utf8-string-1.0.1.1 Building utf8-string-1.0.1.1 Completed entropy-0.4.1.5 Completed random-1.1 Starting splitmix-0.0.3 Building splitmix-0.0.3 Completed cereal-0.5.8.1 Completed splitmix-0.0.3 Starting QuickCheck-2.13.2 Completed utf8-string-1.0.1.1 Starting string-conversions-0.4.0.1 Building QuickCheck-2.13.2 Building string-conversions-0.4.0.1 Completed string-conversions-0.4.0.1 Completed QuickCheck-2.13.2 Starting secp256k1-haskell-0.1.5 Failed to install secp256k1-haskell-0.1.5 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/secp256k1-haskell-0.1.5-J4Ts91XWoOMHseQNE65LP1.log ): cabal: Entering directory '/tmp/cabal-tmp-7073/secp256k1-haskell-0.1.5' Configuring secp256k1-haskell-0.1.5... cabal: Missing dependency on a foreign library: * Missing (or bad) C library: secp256k1 This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the library 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: Leaving directory '/tmp/cabal-tmp-7073/secp256k1-haskell-0.1.5' cabal: Error: some packages failed to install: secp256k1-haskell-0.1.5-J4Ts91XWoOMHseQNE65LP1 failed during the configure step. The exception was: ExitFailure 1