From: magnusm@ibm.net
To: pgsql-interfaces@postgresql.org
Subject: Error using Perl 5 interface
Date: Tue, 17 Aug 1999 01:23:09 +0200
Message-ID: <002301bee83e$4ffab780$140410ac@toons> (raw)
Hello
We wonder if anyone has found and resolved a cryptic error that we get
when trying to connect a PosgreSQL 6.5.1 database with perl 5.0053.
First, the perl script....
#! /usr/bin/perl
use Pg;
$conn = Pg::connectdb("dbname=template1");
$result = $conn -> exec("create database pgtest");
When we run this we get the following error message.
Can't load '/usr/lib/perl5/site_perl/i386-linux/auto/Pg/Pg.so' for
module Pg: /usr/lib/perl5/site_perl/i386-linux/auto/Pg/Pg.so: undefined
symbol: Perl_markstack_ptr at
/usr/lib/perl5/5.00503/i386-linux/DynLoader.pm at line 169.
at ./test.pl line 3 (which is use Pg;)
We are running Red Hat 6.0 standard installation with PostgreSQL 6.5.1
and the perl interface that came with it. We opted to install the
binaries instead of compiling the source ourselves. We are running Perl
5.0053 that was installed with the system installation.
Thanks
Magnus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: magnusm@ibm.net
Subject: Re: Error using Perl 5 interface
In-Reply-To: <002301bee83e$4ffab780$140410ac@toons>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox