pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jake@omnimode.com
To: pgsql-sql@postgresql.org
Subject: DBD::Pg install error (freebsd)
Date: 23 Aug 2001 12:08:01 -0700
Message-ID: <8897a0de.0108231108.6975f524@posting.google.com> (raw)

I'm trying to install (from source) DBD::Pg v1.01 after having
installed (from source) DBI v1.19 on FreeBSD 4.3 (Release) and I
encounter this error in the 'make test' step:

dell_box# make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 test.pl
OS: freebsd
install_driver(Pg) failed: Can't load 'blib/arch/auto/DBD/Pg/Pg.so'
for module DBD::Pg: Shared object "libpq.so.2" not found at
/usr/libdata/perl/5.00503/DynaLoader.pm line 169.

 at (eval 1) line 3
Perhaps a required shared library or dll isn't installed where
expected
 at test.pl line 53
*** Error code 255

Stop in /usr/home/jake6006/DBD-Pg-1.01.

I have POSTGRES_LIB and POSTGRES_INCLUDE properly defined (else 'make'
wouldn't have worked). In fact, for additional reference I've provided
the output from 'make'. I'm running these things as root instead of
postgres... does it matter?

I'd appreciate any help offerred.  Thanks.



dell_box# make
cc -c -I/usr/local/pgsql/include/
-I/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI      
-DVERSION=\"1.01\"  -DXS_VERSION=\"1.01\" -DPIC -fpic
-I/usr/libdata/perl/5.00503/mach/CORE  Pg.c
cc -c -I/usr/local/pgsql/include/
-I/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI      
-DVERSION=\"1.01\"  -DXS_VERSION=\"1.01\" -DPIC -fpic
-I/usr/libdata/perl/5.00503/mach/CORE  dbdimp.c
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/DBD
mkdir blib/arch/auto/DBD/Pg
Running Mkbootstrap for DBD::Pg ()
chmod 644 Pg.bs
cc -o blib/arch/auto/DBD/Pg/Pg.so  -Wl,-E -shared -lperl -lm Pg.o
dbdimp.o    -L/usr/local/pgsql/lib/ -lpq
chmod 755 blib/arch/auto/DBD/Pg/Pg.so
cp Pg.bs blib/arch/auto/DBD/Pg/Pg.bs
chmod 644 blib/arch/auto/DBD/Pg/Pg.bs
mkdir blib/lib/auto/DBD
mkdir blib/lib/auto/DBD/Pg
mkdir blib/man3
Manifying blib/man3/DBD::Pg.3
Manifying blib/man3/DBD::dbd-pg.3



view thread (3+ messages)  latest in thread

Message-ID: <8897a0de.0108231108.6975f524@posting.google.com>
Permalink:  ../8897a0de.0108231108.6975f524@posting.google.com/
Also on:    postgresql.org/message-id/8897a0de.0108231108.6975f524@posting.google.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-sql@postgresql.org
  Cc: jake@omnimode.com
  Subject: Re: DBD::Pg install error (freebsd)
  In-Reply-To: <8897a0de.0108231108.6975f524@posting.google.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