pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: C. Hendra Suhartanto <chs@indoweb.com>
To: pgsql-interfaces@postgresql.org
Subject: Pg Interface to PostgreSQL Problem
Date: Tue, 22 Dec 1998 20:20:45 +0700
Message-ID: <01be2dad$e2001180$0700a8c0@manggis> (raw)

Hi, I encountered the following errors trying to compile the
source code on Solaris (Sparc) 2.5.1:

home.indoweb.com:~/postgresql-v6.4/src/interfaces/perl5>make test
PERL_DL_NONLAZY=1
/usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/li
b/perl5/sun4-solaris/5.003 -I/usr/local/lib/perl5 test.pl
Can't load './blib/arch/auto/Pg/Pg.so' for module Pg: ld.so.1:
/usr/local/bin/pe
rl: fatal: relocation error: symbol not found: PQconnectdb: referenced in
./blib
/arch/auto/Pg/Pg.so at /usr/local/lib/perl5/DynaLoader.pm line 140.
 at blib/lib/Pg.pm line 125
BEGIN failed--compilation aborted at test.pl line 12.
test failed
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'



home.indoweb.com:~/postgresql-v6.4/src/interfaces/perl5>perl -v
This is perl, version 5.003 with EMBED
        built under solaris at Jan 19 1997 11:35:29
        + suidperl security patch

Copyright 1987-1996, 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.

home.indoweb.com:~/postgresql-v6.4/src/interfaces/perl5>perl -V
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=solaris, osver=2.5.1, archname=sun4-solaris
    uname='sunos no2 5.5.1 iss_1.0 sun4c sparc sunw,sun_4_75 '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.7.2
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lndbm -lgdbm -ldbm -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib'
@INC: /usr/local/lib/perl5/sun4-solaris/5.003 /usr/local/lib/perl5
/usr/local/li
b/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl .

PostgreSQL 6.4

Thanks,
Hendra,-



=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=
C. Hendra Suhartanto, Ph.D.
Director, IndoWEB - an Internet Solution Provider
E-mail  : chs@indoweb.com
Internet: http://www.indoweb.com





Message-ID: <01be2dad$e2001180$0700a8c0@manggis>
Permalink:  ../01be2dad$e2001180$0700a8c0@manggis/
Also on:    postgresql.org/message-id/01be2dad$e2001180$0700a8c0@manggis

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: chs@indoweb.com
  Subject: Re: Pg Interface to PostgreSQL Problem
  In-Reply-To: <01be2dad$e2001180$0700a8c0@manggis>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox