On Tue, Oct 25, 2011 at 12:51 AM, Andrej <andrej.gro...@gmail.com> wrote: > On 25 October 2011 06:24, Phil Mayers <p.may...@imperial.ac.uk> wrote: >>> /usr/lib64/postgresql >>> /usr/include/postgresql >> >> Hmm. >> >> What does: >> >> pg_config --includedir --libdir > > pg_config --includedir --l > /usr/include > /usr/lib64
... and that may be your problem Where does your libpq.so.* located? /usr/lib64? /usr/lib64/postgresql? Where does postgres.h located? /usr/include? /usr/include/postgresql? The output of pg_config mismatched with what you said. If the file location matches what pg_config says, it should work. If not, that means you got broken pg_config. -- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html