【问题标题】:How to get the postgresql headers on centos6如何在centos6上获取postgresql标头
【发布时间】:2013-09-13 04:19:19
【问题描述】:

我正在尝试编译支持 pgsql 的 postfix,它需要 postgresql 头文件,它应该在 /usr/include/postgresql 中

我在我的 centOS-6.4 上安装了以下 postgresql191 软件包

.x86_64

-devel.x86_64

-libs.x86_64

-server.x86_64

我认为头文件应该包含在 -devel 包中,但仍然看不到头文件。我需要安装哪个包来获取标头?

【问题讨论】:

  • rpm -ql postgresql-devel 将显示其具有完整路径的文件列表。显然标题进入/usr/include/pgsql不是 /usr/include/postgresql
  • 感谢命令的帮助。它实际上在 /usr/pgsql-9.1/include 中,看图。

标签: postgresql postfix-mta centos6


【解决方案1】:

Daniel Vérité 找到了正确的线索:rpm-ql postgresql191-devel.x86_64 向我展示了文件在 /usr/pgsql-9.1/include 中

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-09-18
    • 2017-01-27
    • 2020-11-11
    • 1970-01-01
    • 2012-10-25
    • 1970-01-01
    • 2012-03-03
    相关资源
    最近更新 更多