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

Pg Interface to PostgreSQL Problem

From: "C(dot) Hendra Suhartanto" <chs(at)indoweb(dot)com>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Pg Interface to PostgreSQL Problem
Date: 1998-12-22 13:20:45
Message-ID: 01be2dad$e2001180$0700a8c0@manggis (view raw or whole thread)
Lists: pgsql-interfaces
Hi, I encountered the following errors trying to compile the
source code on Solaris (Sparc) 2.5.1:>make test
/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
Can't load './blib/arch/auto/Pg/' for module Pg:
rl: fatal: relocation error: symbol not found: PQconnectdb: referenced in
/arch/auto/Pg/ at /usr/local/lib/perl5/ line 140.
 at blib/lib/ line 125
BEGIN failed--compilation aborted at line 12.
test failed
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'>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.>perl -V
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
    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
    cc='gcc', optimize='-O', gccversion=2.7.2
    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/, 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
b/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl .

PostgreSQL 6.4


C. Hendra Suhartanto, Ph.D.
Director, IndoWEB - an Internet Solution Provider
E-mail  : chs(at)indoweb(dot)com

pgsql-interfaces by date

Next:From: joel reedDate: 1998-12-22 14:37:46
Subject: binding columns to memory locations
Previous:From: jchenDate: 1998-12-22 11:55:45
Subject: hostname resolve

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