I had the same problems my self w/ php and pam_pgsql
looks like 7.1 doesn't put things into the folders that you are expecting.
ie 7.0.3 places libs in /usr/lib/pgsql, in 7.1 they go in /usr/lib/postgres
Mike
> Greetings,
>
> Trying to install PHP on a machine with the pgsql clients installed, e.g.:
> ./configure
> gmake -C src/bin install
> gmake -C src/interfaces install
> gmake -C doc install
>
> After ./configuring PHP --with-pgsql, I get errors regarding missing
> headers, namely libpq/libpq-fs.h (Note: This is the same error I get when
> trying to compile pgsql on the server machine --with-perl)
>
> I noticed another post which said to remove the postgres.h include from
> php, which I did. The above error then shows up when compiling.
>
> Using PHP 4.0.4pl1 and pgsql 7.1.
>
> I do notice that the missing headers are included on the server machine,
> though.
>
> Thanks,
>
> SWS
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>