Installing HDBC-SQlite3 Haskell

Im facing a problem during installation:

>>setup configure Configuring HDBC-sqlite3-2.3.0.0... setup: Missing dependency on a foreign library: * Missing 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. 

what should I do?

thanks for any help

+4
source share
2 answers

OK,

I downloaded sqlite3.dll and sqlite3.h from the source zip.

then I inserted sqlite3.dll into the system32 directory and in the configure setup I used

- extra-lib-dirs = ... --extra-include-dirs = ... parameters with the correct paths to the header and dll.

+10
source

You need to install the C library implementation and SQLite headers.

On Ubuntu and other Debian based distributions, it's just

 sudo apt-get install sqlite3 libsqlite3-dev 

Other Linux distributions will have similar packages.

On Windows, you will need to do one more job.

In OS X, I have no idea.

+9
source

Source: https://habr.com/ru/post/1309215/


All Articles