Reference

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 <[email protected]>