libpq3-config(1)

libpq3-config1

Report library options for linking libpq3

Usage

libpq3-config

Overview

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.)

Examples

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

Author

Oliver Elphick <[email protected]>

From postgresql-dev 7.4.7-6sarge6 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.