首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装HDBC-SQlite3 Haskell

安装HDBC-SQlite3 Haskell
EN

Stack Overflow用户
提问于 2010-05-09 05:41:08
回答 2查看 2.2K关注 0票数 4

我在安装过程中遇到了这个问题:

代码语言:javascript
复制
>>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.

我该怎么做?

谢谢你的帮助

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2010-05-09 06:24:57

好的,

我从源码zip下载了sqlite3.dll和sqlite3.h。

然后我将sqlite3.dll插入到system32目录中,并在setup configure中使用

--extra-lib-dirs=... --extra-include-dirs=...具有指向标题和dll的正确路径的参数。

票数 10
EN

Stack Overflow用户

发布于 2010-05-09 05:45:13

您需要安装SQLite的C库实现和头文件。

在Ubuntu和其他基于Debian的Linux发行版上,它很简单

代码语言:javascript
复制
sudo apt-get install sqlite3 libsqlite3-dev

其他Linux发行版也会有类似名称的包。

在Windows上,你需要做更多的工作。

在OS上,我不知道。

票数 9
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/2795737

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档