Resolving dependencies... Configuring cereal-0.5.7.0... Configuring base16-bytestring-0.1.1.6... Building cereal-0.5.7.0... Building base16-bytestring-0.1.1.6... Installed base16-bytestring-0.1.1.6 Configuring entropy-0.4.1.1... Building entropy-0.4.1.1... Installed cereal-0.5.7.0 Configuring erf-2.0.0.0... Building erf-2.0.0.0... Installed entropy-0.4.1.1 Configuring primitive-0.6.4.0... Building primitive-0.6.4.0... Installed erf-2.0.0.0 Configuring random-1.1... Building random-1.1... Installed random-1.1 Configuring utf8-string-1.0.1.1... Building utf8-string-1.0.1.1... Installed utf8-string-1.0.1.1 Configuring string-conversions-0.4.0.1... Building string-conversions-0.4.0.1... Installed string-conversions-0.4.0.1 Installed primitive-0.6.4.0 Configuring tf-random-0.5... Building tf-random-0.5... Installed tf-random-0.5 Configuring QuickCheck-2.12.2... Building QuickCheck-2.12.2... Installed QuickCheck-2.12.2 Configuring secp256k1-haskell-0.1.2... Failed to install secp256k1-haskell-0.1.2 Build log ( /home/builder/.cabal/logs/ghc-8.4.3/secp256k1-haskell-0.1.2-4jjUHSxzUPZIG5xOJU4Fvt.log ): cabal: Entering directory '/tmp/cabal-tmp-24070/secp256k1-haskell-0.1.2' Configuring secp256k1-haskell-0.1.2... 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-24070/secp256k1-haskell-0.1.2' cabal: Error: some packages failed to install: secp256k1-haskell-0.1.2-4jjUHSxzUPZIG5xOJU4Fvt failed during the configure step. The exception was: ExitFailure 1