Received: from out1.ibm.net (out1.ibm.net [165.87.194.252]) by hub.org (8.9.3/8.9.3) with ESMTP id TAA87099 for ; Mon, 16 Aug 1999 19:19:04 -0400 (EDT) (envelope-from magnusm@ibm.net) From: magnusm@ibm.net Received: from kalle.toons ([139.92.65.140]) by out1.ibm.net (8.8.5/8.6.9) with SMTP id XAA109264 for ; Mon, 16 Aug 1999 23:19:00 GMT Message-ID: <002301bee83e$4ffab780$140410ac@toons> To: Subject: Error using Perl 5 interface Date: Tue, 17 Aug 1999 01:23:09 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0020_01BEE84F.10AA28C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 This is a multi-part message in MIME format. ------=_NextPart_000_0020_01BEE84F.10AA28C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 =3D Pg::connectdb("dbname=3Dtemplate1"); $result =3D $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 ------=_NextPart_000_0020_01BEE84F.10AA28C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello

We wonder if anyone has found and = resolved a=20 cryptic error that we get
when trying to connect a PosgreSQL 6.5.1 = database=20 with perl 5.0053.

First, the perl script....

#!=20 /usr/bin/perl

use Pg;

$conn =3D=20 Pg::connectdb("dbname=3Dtemplate1");
$result =3D $conn -> = exec("create=20 database pgtest");

When we run this we get the following error=20 message.

Can't load = '/usr/lib/perl5/site_perl/i386-linux/auto/Pg/Pg.so'=20 for
module Pg: /usr/lib/perl5/site_perl/i386-linux/auto/Pg/Pg.so:=20 undefined
symbol: Perl_markstack_ptr=20 at
/usr/lib/perl5/5.00503/i386-linux/DynLoader.pm at line = 169.

at=20 ./test.pl line 3  (which is use Pg;)

We are running Red Hat = 6.0=20 standard installation with PostgreSQL 6.5.1
and the perl interface = that came=20 with it.  We opted to install the
binaries instead of compiling = the=20 source ourselves.  We are running Perl
5.0053 that was installed = with=20 the system=20 installation.

Thanks

Magnus

------=_NextPart_000_0020_01BEE84F.10AA28C0--