Problem install DBD-pg in Redhat Linux 7.2 - Mailing list pgsql-general

From R C
Subject Problem install DBD-pg in Redhat Linux 7.2
Date
Msg-id 3F2030BD.4060703@noaa.gov
Whole thread Raw
List pgsql-general
Hi whoever,

My OS is Redhat Linux 7.2
My PostgreSQL is 7.1.3

I am success install DBI 1.3.7 already.

I have problem to compile DBD-pg 1.22

export POSTGRES_INCLUDE=/usr/include/pgsql
export POSTGRES_LIB=/usr/lib/pgsql

when I type

perl Makefile.PL

I got these below

Can't locate loadable object for module DBI in @INC (@INC contains:
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5
/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /us
r/lib/perl5/site_perl .) at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/DBI.pm line 255
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/DBI.pm line 255.
Compilation failed in require at Makefile.PL line 8.
BEGIN failed--compilation aborted at Makefile.PL line 8.

my perl is

perl -v

This is perl, v5.6.1 built for i386-linux

Copyright 1987-2001, 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 source kit.


perl -V
perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
   Platform:
     osname=linux, osvers=2.4.17-0.13smp, archname=i386-linux
     uname='linux daffy.perf.redhat.com 2.4.17-0.13smp #1 smp fri feb 1
10:30:48 est 2002 i686 unknown '
     config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -Dcc=gcc
-Dcf_by=Red Hat, Inc. -Dcccdlflags=-fPIC -Dinstallprefix=/usr -Dpr
efix=/usr -Darchname=i386-linux -Uusethreads -Uuseithreads
-Uuselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Di_ndbm -Di_gdbm -Di_sha
dow -Di_syslog -Dman3ext=3pm -Dlocincpth='
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
     useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
   Compiler:
     cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include',
     optimize='-O2 -march=i386 -mcpu=i686',
     cppflags='-fno-strict-aliasing -I/usr/local/include'
     ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.1
2.96-98)', gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
     alignbytes=4, usemymalloc=n, prototype=define
   Linker and Libraries:
     ld='gcc', ldflags =' -L/usr/local/lib'
     libpth=/usr/local/lib /lib /usr/lib
     libs=-lnsl -ldl -lm -lc -lcrypt -lutil
     perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
     libc=/lib/libc-2.2.4.so, so=so, useshrplib=false, libperl=libperl.a
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
     cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
   Compile-time options:
   Built under linux
   Compiled at Feb 20 2002 15:01:16
   @INC:
     /usr/lib/perl5/5.6.1/i386-linux
     /usr/lib/perl5/5.6.1
     /usr/lib/perl5/site_perl/5.6.1/i386-linux
     /usr/lib/perl5/site_perl/5.6.1
     /usr/lib/perl5/site_perl/5.6.0/i386-linux
     /usr/lib/perl5/site_perl/5.6.0
     /usr/lib/perl5/site_perl



Please tell me what I did wrong.
How to resolve this problem.

Thank you very much!




pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Comments in .sql files
Next
From: thomas.mathes@tmnd.de
Date:
Subject: Integrating the field auto-increment