---
name: "libpq3-config"
section: "1"
platform: "linux"
package: "postgresql-dev"
version: "7.4.7-6sarge6"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/libpq3-config"
---

# libpq3-config(1)

Report library options for linking libpq3

## NAME

libpq3-config - Report library options for linking libpq3

## SYNOPSIS

**libpq3-config**

## DESCRIPTION

Reports the library options that need to be given to gcc in order to link in the correct libraries to programs using libpq3.a. (The same libraries are needed for libpq3.so, but dynamic linking of shared libraries is handled at runtime.)

## EXAMPLE

gcc -o myprog myprog.c -static -lpq \`/usr/lib/postgresql/bin/libpq3-config\`

## AUTHOR

Oliver Elphick \<olly@lfix.co.uk\>
