Error message when using perl to connect to Postgres Server

Started by Erik Colsonalmost 27 years ago2 messagesgeneral
Jump to latest
#1Erik Colson
beaver@glo.be

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!

Erik

#2Chris Bitmead
chris.bitmead@bigfoot.com
In reply to: Erik Colson (#1)
Re: [GENERAL] Error message when using perl to connect to Postgres Server

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@tech.com.au
http://www.techphoto.org - Photography News, Stuff that Matters