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

Problems installing Pg module on Tru64 Unix

From: Yeo Eng Hee <enghee(at)nus(dot)edu(dot)sg>
To: "Pgsql-Novice (pgsql-novice(at)postgresql(dot)org)" <pgsql-novice(at)postgresql(dot)org>
Subject: Problems installing Pg module on Tru64 Unix
Date: 2001-09-28 10:49:53
Message-ID: 400700D21451D411945F00805FBE210D1A4F01@exs01.ex.nus.edu.sg (view raw or flat)
Thread:
Lists: pgsql-novice
I am trying to install the Pg module for Postgresql 7.1 onto a Tru64 Unix
system running version 5.0a of the OS.  I got the following messages:

# perl Makefile.PL 
Checking if your kit is complete...
Looks good
Writing Makefile for Pg
# gmake 
gmake -C ../../../src/interfaces/libpq all
gmake[1]: Entering directory `/opt/postgresql-7.1/src/interfaces/libpq'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/opt/postgresql-7.1/src/interfaces/libpq'
gmake -f Makefile all
gmake[1]: Entering directory `/opt/postgresql-7.1/src/interfaces/perl5'
mkdir ./blib
mkdir ./blib/lib
mkdir ./blib/arch
mkdir ./blib/arch/auto
mkdir ./blib/arch/auto/Pg
mkdir ./blib/lib/auto
mkdir ./blib/lib/auto/Pg
mkdir ./blib/man3
cp Pg.pm ./blib/lib/Pg.pm
AutoSplitting Pg (./blib/lib/auto/Pg)
/usr/bin/perl -I/usr/lib/perl-5.004/lib/alpha-dec_osf/5.00404
-I/usr/lib/perl-5.004/lib /usr/lib/perl-5.004/lib/ExtUtils/xsubpp  -typemap
/usr/lib/perl-5.004/lib/ExtUtils/typemap -typemap typemap Pg.xs >Pg.tc && mv
Pg.tc Pg.c
cc -c -I../libpq -I../../include -fprm d -ieee -std -D__LANGUAGE_C__ -O4
-DVERSION=\"1.8.0\" -DXS_VERSION=\"1.8.0\"
-I/usr/lib/perl-5.004/lib/alpha-dec_osf/5.00404/CORE  Pg.c
Running Mkbootstrap for Pg ()
chmod 644 Pg.bs
ar cr tmp.a Pg.o
: tmp.a
LD_RUN_PATH="/opt/postgresql-7.1/src/interfaces/perl5/../libpq" ld -o
blib/arch/auto/Pg/Pg.so  -shared -expect_unresolved "*" -O4 -msym -s -all
tmp.a -none    -L/opt/postgresql-7.1/src/interfaces/perl5/../libpq -lpq 
chmod 755 blib/arch/auto/Pg/Pg.so
cp Pg.bs ./blib/arch/auto/Pg/Pg.bs
chmod 644 blib/arch/auto/Pg/Pg.bs
Manifying ./blib/man3/Pg.3
gmake[1]: Leaving directory `/opt/postgresql-7.1/src/interfaces/perl5'
# gmake test
gmake -f Makefile test
gmake[1]: Entering directory `/opt/postgresql-7.1/src/interfaces/perl5'
PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib
-I/usr/lib/perl-5.004/lib/alpha-dec_osf/5.00404 -I/usr/lib/perl-5.004/lib
test.pl
Can't load './blib/arch/auto/Pg/Pg.so' for module Pg: dlopen: cannot load
./blib/arch/auto/Pg/Pg.so at
/usr/lib/perl-5.004/lib/alpha-dec_osf/5.00404/DynaLoader.pm line 166.

 at test.pl line 12
BEGIN failed--compilation aborted at test.pl line 12.
test failed
gmake[1]: *** [test_dynamic] Error 2
gmake[1]: Leaving directory `/opt/postgresql-7.1/src/interfaces/perl5'
gmake: *** [test] Error 2

Would appreciate it if someone can point out the right steps to install this
module.

Yeo Eng Hee
National University of Singapore, 2 Engineering Drive 4, Singapore 117584.

pgsql-novice by date

Next:From: TURPIN Olivier FTM/DSI/EXTDate: 2001-09-28 11:47:26
Subject: Using constraint
Previous:From: Dinesh ParikhDate: 2001-09-28 10:47:47
Subject: Dynamic Query problem

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