pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim Bowlin <bowlin@sirius.com>
To: pgsql-interfaces@postgresql.org
Subject: libpq.o problem in Pg.pm 1.8 make test on Linux
Date: Mon, 09 Nov 1998 02:07:00 -0800
Message-ID: <3646BEC4.F4904E6C@sirius.com> (raw)

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
    .
---------------------------------------------------------------------



Message-ID: <3646BEC4.F4904E6C@sirius.com>
Permalink:  ../3646BEC4.F4904E6C@sirius.com/
Also on:    postgresql.org/message-id/3646BEC4.F4904E6C@sirius.com

 · 

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: bowlin@sirius.com
  Subject: Re: libpq.o problem in Pg.pm 1.8 make test on Linux
  In-Reply-To: <3646BEC4.F4904E6C@sirius.com>

* 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