Kitura / Kitura/Swift-Kuery-PostgreSQL

'libpq-fe.h' file not found

Open
#108 0 comments 1 reaction 1 assignee View on GitHub

@adam-rocska is already working on this.

Since May 18, 2026.

Dominant language
Swift
Stars
62
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Hi,

Using MacOS 12.4 with Xcode 13.4.1 I installed postgres via brew install postgresql.

When I create a new project in Xcode and only add Swift-Kuery-PostgreSQL via Package Dependencies the project stops building complaining about 'libpq-fe.h' file not found.

The header /usr/local/include/libpq-fe.h is installed but looking at the full build log, the directory /usr/local/include is not mentioned.

https://github.com/Kitura/Swift-Kuery-PostgreSQL/issues/5 seems to indication it should work by what I have done, but it is not. Xcode also tells me to install postgresql via homebrew, which I already did. Very confusing...

Can you give any advice here? Thanks!

Joachim

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.