gpt4 book ai didi

linux - 在 Linux i686 上使用 sqlite-3.7.6.3 出现编译错误

转载 作者:太空宇宙 更新时间:2023-11-04 04:03:47 25 4
gpt4 key购买 nike

我有 sqlite-3.7.6.3 库。我必须编译这个库并制作一个包。我的系统是Linux i686。

库文件夹包含一些补丁、src文件夹和amalgamation文件夹。

我已执行以下步骤:

  1. 我将目录更改为 src,即 cd/sqlite-3.7.6.3/src
  2. 我运行了sudo ./configure,效果非常好。
  3. 然后我运行了ma​​ke。我在运行 make 时遇到错误。错误是:

./src/shell.c:2668: undefined reference to `sqlite_shell_init_icu'

到目前为止我还没有弄清楚这个问题。有人可以指导我吗?

最佳答案

<罢工>尝试:

sudo apt-get install libicu-dev
make

<罢工>

来自官方网站:

Note that a unix-like development environment, including a recent version of Tcl, is required in order to build from the repository sources. The amalgamation source code files (the "sqlite3.c" and "sqlite3.h" files) are not contained in the repository.

你做到了吗? How To Compile SQLite

我高度怀疑问题就出在这里。您需要下载适合您的版本的合并 tarball。

关于linux - 在 Linux i686 上使用 sqlite-3.7.6.3 出现编译错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22055464/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com