libpq.o problem in Pg.pm 1.8 make test on Linux

From: Jim Bowlin <bowlin(at)sirius(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: libpq.o problem in Pg.pm 1.8 make test on Linux
Date: 1998-11-09 10:07:00
Message-ID: 3646BEC4.F4904E6C@sirius.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Have successfully tested and installed PostgreSQL 6.4 and your DBD::Pg
module. My dynamic loader is having trouble finding libpq.o when I
try to "make test" the Pg.pm module version 1.8. But everything else
was happy.

I played with ldconfig as described in the Postgres INSTALL file. I
did find that there were old versions of libpq* in /usr/lib I moved
these to a safe place, redid the ldconfig and still no luck. Finally
in desperation, I copied libpq.so from /usr/local/pgsql/lib/ to
/usr/lib and then it worked.

-- Jim Bowlin

---------------------------------------------------------------------
Linux version:
VA Research Red Hat Linux release 5.0 (Hurricane)
Kernel 2.0.33 on an i686
---------------------------------------------------------------------
PROMPT> perl -v

This is perl, version 5.004_01

Copyright 1987-1997, 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.
---------------------------------------------------------------------
PROMPT> perl -V
Summary of my perl5 (5.0 patchlevel 4 subversion 1) configuration:
Platform:
osname=linux, osvers=2.0.32, archname=i386-linux
uname='linux porky.redhat.com 2.0.32 #1 tue nov 18 21:51:33 est 1997 i686
unknown '
hint=recommended, useposix=true, d_sigaction=define
bincompat3=y useperlio= d_sfio=
Compiler:
cc='cc', optimize='-O2', gccversion=2.7.2.3
cppflags='-Dbool=char -DHAS_BOOL'
ccflags ='-Dbool=char -DHAS_BOOL'
stdchar='char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=4, usemymalloc=n, randbits=31
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
libc=, so=so
useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Characteristics of this binary (from libperl):
Built under linux
Compiled at Dec 5 1997 02:52:49
@INC:
/usr/lib/perl5/i386-linux/5.00401
/usr/lib/perl5
/usr/lib/perl5/site_perl/i386-linux
/usr/lib/perl5/site_perl
.
---------------------------------------------------------------------

Browse pgsql-interfaces by date

  From Date Subject
Next Message RADHAKRISHNAN C V 1998-11-09 12:52:58 limiting the rows selected in postgresql
Previous Message Richard Reyes 1998-11-08 23:21:33 Vis Data ODBC