Make sure your perl DBD-Pg and DBI are compiled with the correct version
of postgres.
> Erik Colson wrote:
>
> Hi!
>
> I installed (compiled) latest versions of Perl, Postgres.
>
> I can access the database via 'psql' but allways get an error when
> trying to connect from a perl-script :
>
> The message is : Unsupported frontend protocol
>
> As far as I could see, this has something to do with libpq ?
> Is this correct ?
> libpq.so.2 and libpq.so.3 are compiled with Postgres. What for
> libpq.so.1 ? I cannot find the sources anywhere, only the binary is on
> my system !
>
> Thanks for help!
>
> Eri
--
Chris Bitmead
mailto:chris(at)tech(dot)com(dot)au
http://www.techphoto.org - Photography News, Stuff that Matters