Skip site navigation (1) Skip section navigation (2)

Error using Perl interface

From: "Mengelbier, Magnus" <Magnus(dot)Mengelbier(at)clinicaldatacare(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Error using Perl interface
Date: 1999-08-17 07:47:50
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces

We wonder if anyone has found and resolved an error we recieve when trying
to connect to a PostgreSQl 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/' for module
Pg: /usr/lib/perl5/site_perl/i386-linux/auto/Pg/ undefined symbol:
Perl_markstack_ptr at /usr/lib/perl5/5.0053/i386-linux/ at line

at ./ 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 was available. We opted to install the binaries
instead of compiliing the source ourselves.  We are running Perl 5.0053 that
was installed with the system installation.




pgsql-interfaces by date

Next:From: Huang KaiDate: 1999-08-17 07:51:38
Subject: psql's clone in java
Previous:From: Tom LaneDate: 1999-08-17 00:23:31
Subject: Re: [INTERFACES] types oids

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group