Perl support for 7.2.3 on OSX

From: Jeremy Smith <jeremy(at)softmagic(dot)co(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Perl support for 7.2.3 on OSX
Date: 2002-11-04 18:13:33
Message-ID: 21324A8E-F021-11D6-B07C-00050277BAF4@softmagic.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have been using Postgresql and Perl for a while on my mac using OSX
10.1.5, I have just updated to OSX 10.2.1 and have installed Mark
Liyanages package for OSX 10.2 which installs beautifully for us non
hacker types.

However now my perl scripts no longer work? when I run a script with a
header like:

#! /usr/bin/perl
use strict;
use Pg;

I get the message:
Can't locate loadable object for module Pg in @INC (@INC contains:
/System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin
/Library/Perl /Library/Perl /Network/Library/Perl/darwin
/Network/Library/Perl /Network/Library/Perl .) at ./testpg.pl line 4
Compilation failed in require at ./testpg.pl line 4.

Now I assume it is looking for libpgeasy which exists in my
/usr/local/pgsql/lib/ directory, although I do not really understand
how this all works with Pg.pm?

I also assume that Marks package was not built with the Perl interfaces.

Is there any easy way to get this working?

Regards
Jeremy

Browse pgsql-general by date

  From Date Subject
Next Message Kyle Burton 2002-11-04 19:58:38 TIMESTAMP and PgPL/SQL
Previous Message Kyle Cheng 2002-11-04 17:54:41 Question about Vacuum, Index, perfromance, future xml support in postgresql