pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
DBD::Pg install error (freebsd)
3+ messages / 2 participants
[nested] [flat]

* DBD::Pg install error (freebsd)
@ 2001-08-23 19:08  jake johnson <jake@omnimode.com>
  0 siblings, 1 reply; 3+ messages in thread

From: jake@omnimode.com @ 2001-08-23 19:08 UTC (permalink / raw)
  To: pgsql-sql

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: DBD::Pg install error (freebsd)
@ 2001-08-24 15:39  Vivek Khera <khera@kcilink.com>
  parent: jake johnson <jake@omnimode.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Vivek Khera @ 2001-08-24 15:39 UTC (permalink / raw)
  To: pgsql-sql

>>>>> "jj" == jake johnson <jake@omnimode.com> writes:

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

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

After you installed postgres, did you run ldconfig -m
/usr/local/pgsql/lib to add that shared lib to the system?


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: DBD::Pg install error (freebsd)
@ 2001-08-24 23:20  jake johnson <jake@omnimode.com>
  parent: Vivek Khera <khera@kcilink.com>
  0 siblings, 0 replies; 3+ messages in thread

From: jake@omnimode.com @ 2001-08-24 23:20 UTC (permalink / raw)
  To: pgsql-sql

Vivek Khera <khera@kcilink.com> wrote in message news:<x7elq179h0.fsf@yertle.kciLink.com>...
> >>>>> "jj" == jake johnson <jake@omnimode.com> writes:
> 
> jj> I'm trying to install (from source) DBD::Pg v1.01 after having
> jj> installed (from source) DBI v1.19 on FreeBSD 4.3 (Release) and I
> jj> encounter this error in the 'make test' step:
> 
> jj> dell_box# make test
> jj> PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
> jj> -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 test.pl
> jj> OS: freebsd
> jj> install_driver(Pg) failed: Can't load 'blib/arch/auto/DBD/Pg/Pg.so'
> jj> for module DBD::Pg: Shared object "libpq.so.2" not found at
> jj> /usr/libdata/perl/5.00503/DynaLoader.pm line 169.
> 
> After you installed postgres, did you run ldconfig -m
> /usr/local/pgsql/lib to add that shared lib to the system?

Thanks for your reply.  I did run ldconfig, but without the -m switch.
 What type of impact would this omission have?



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2001-08-24 23:20 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-08-23 19:08 DBD::Pg install error (freebsd) jake johnson <jake@omnimode.com>
2001-08-24 15:39 ` Vivek Khera <khera@kcilink.com>
2001-08-24 23:20   ` jake johnson <jake@omnimode.com>

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