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 dlist-0.8.0.6 Starting old-locale-1.0.0.7 Starting sql-words-0.1.6.3 Starting names-th-0.3.0.0 Building sql-words-0.1.6.3 Building names-th-0.3.0.0 Building old-locale-1.0.0.7 Building dlist-0.8.0.6 Completed old-locale-1.0.0.7 Starting th-data-compat-0.0.2.7 Completed names-th-0.3.0.0 Starting th-reify-compat-0.0.1.5 Building th-data-compat-0.0.2.7 Completed sql-words-0.1.6.3 Starting time-locale-compat-0.1.1.5 Building th-reify-compat-0.0.1.5 Completed dlist-0.8.0.6 Starting utf8-string-1.0.1.1 Building time-locale-compat-0.1.1.5 Building utf8-string-1.0.1.1 Completed th-data-compat-0.0.2.7 Starting old-time-1.1.0.3 Completed th-reify-compat-0.0.1.5 Starting product-isomorphic-0.0.3.3 Completed time-locale-compat-0.1.1.5 Building product-isomorphic-0.0.3.3 Building old-time-1.1.0.3 Completed product-isomorphic-0.0.3.3 Starting persistable-record-0.6.0.4 Building persistable-record-0.6.0.4 Completed utf8-string-1.0.1.1 Completed old-time-1.1.0.3 Starting convertible-1.1.1.0 Building convertible-1.1.1.0 Completed persistable-record-0.6.0.4 Starting relational-query-0.12.2.1 Building relational-query-0.12.2.1 Completed convertible-1.1.1.0 Starting HDBC-2.4.0.2 Building HDBC-2.4.0.2 Completed HDBC-2.4.0.2 Starting HDBC-session-0.1.2.0 Starting HDBC-sqlite3-2.3.3.1 Building HDBC-session-0.1.2.0 Failed to install HDBC-sqlite3-2.3.3.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/HDBC-sqlite3-2.3.3.1-6FRlD8bKyTOhyjtDm4mT8.log ): cabal: Entering directory '/tmp/cabal-tmp-2788/HDBC-sqlite3-2.3.3.1' Configuring HDBC-sqlite3-2.3.3.1... cabal: Missing dependency on a foreign library: * Missing (or bad) C library: sqlite3 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-2788/HDBC-sqlite3-2.3.3.1' Completed HDBC-session-0.1.2.0 Completed relational-query-0.12.2.1 cabal: Error: some packages failed to install: HDBC-sqlite3-2.3.3.1-6FRlD8bKyTOhyjtDm4mT8 failed during the configure step. The exception was: ExitFailure 1 relational-record-examples-0.6.0.0-7lyP6bAwhrs2gOtm9EWpq depends on relational-record-examples-0.6.0.0 which failed to install.