Hi,
I just downloaded the recent postgres distribution of ver6.5.3. In its makefile
for libpq++, variable LDFLAGS should also contain -lpq option otherwise it fails
to compile the examples with gcc.
I think it will be good idea to include information about INCLUDE directories,
LDFLAGS and also the setting of LD_LIBRARY_PATH in the html documentation in
libpq++ chapter of the programmer's manual.
Cheers,
Brij