Perl Lack of Installation - Mailing list pgsql-interfaces

From Postgres User
Subject Perl Lack of Installation
Date
Msg-id Pine.LNX.4.05.9901201522240.509-100000@cheese.webcast.co.uk
Whole thread Raw
List pgsql-interfaces
Perl -v:

This is perl, version 5.005_02 built for i586-linux

Copyright 1987-1998, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.


Perl -V:
Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
  Platform:
    osname=linux, osvers=2.0.35, archname=i586-linux
    uname='linux darkstar 2.0.35 #10 tue oct 13 18:04:13 cdt 1998 i586 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=2.7.2.3
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /shlib /lib /usr/lib
    libs=-lndbm -lgdbm -ldbm -ldb -ldl -lm -lc
    libc=/lib/libc.so.5.4.46, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Built under linux
  Compiled at Oct 18 1998 04:26:35
  @INC:
    /usr/lib/perl5/5.00502/i586-linux
    /usr/lib/perl5/5.00502
    /usr/lib/perl5/site_perl/5.005/i586-linux
    /usr/lib/perl5/site_perl/5.005
    .


Version of PostGreSQL: 6.4.3

Version of pgsql_perl5: 1.8.1

Okay, sorry to bother you, but the postgresql installation went fine, and
the perl installation barfed. I thought perhaps it was an old copy or
something, and so downloaded the latest copies of each. Again, postgresql
installs fine.
perl Makefile.PL works fine
make works
make test returns this:

PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00502/i586-linux -I/usr/lib/perl5/5.00502
test.pl
Can't load 'blib/arch/auto/Pg/Pg.so' for module Pg: File not found at /usr/lib/perl5/5.00502/i586-linux/DynaLoader.pm
line168. 

 at test.pl line 12
BEGIN failed--compilation aborted at test.pl line 12.
test failed
make: *** [test_dynamic] Error 2

Although blib/arch/auto/Pg/Pg.so is clearly there.
I know this probably interests you not at all, so I won't be surprised if
I don't get an answer, but if you could help, I'd greatly appreciate it.
Thanks very much
Chewy



pgsql-interfaces by date:

Previous
From: Guido.Goldstein@t-online.de (Guido Goldstein)
Date:
Subject: Re: [INTERFACES] OIDs in pg_type stable across versions?
Next
From: Tom Lane
Date:
Subject: Re: [INTERFACES] OIDs in pg_type stable across versions?