Pg Interface to PostgreSQL Problem - Mailing list pgsql-interfaces

From C. Hendra Suhartanto
Subject Pg Interface to PostgreSQL Problem
Date
Msg-id 01be2dad$e2001180$0700a8c0@manggis
Whole thread Raw
List pgsql-interfaces
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



pgsql-interfaces by date:

Previous
From: jchen
Date:
Subject: hostname resolve
Next
From: joel reed
Date:
Subject: binding columns to memory locations