Hello,
I've noticed that a number of people have had issues installing
DBD::Pg on OS X. However, most people have had issues with the OpenSSL
libraries, etc. My issue seems a little different. I've successfully
install postgresql 7.3.2 with --with-perl and --with--openssl. When I
tried to install DBD::Pg via CPAN I received these messages...
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00basic...........dyld: /usr/bin/perl Undefined symbols:
_Perl_safefree
_Perl_safemalloc
_Perl_sv_2pv
_Perl_sv_catpvn
_Perl_sv_setsv
_is_utf8_string
_perl_get_sv
t/00basic...........dubious
Test returned status 0 (wstat 5, 0x5)
t/01connect.........skipped
all skipped: cannot test without DB info
t/01constants.......dyld: /usr/bin/perl Undefined symbols:
_Perl_safefree
_Perl_safemalloc
_Perl_sv_2pv
_Perl_sv_catpvn
_Perl_sv_setsv
_is_utf8_string
_perl_get_sv
t/01constants.......dubious
Test returned status 0 (wstat 5, 0x5)
DIED. FAILED tests 1-20
Failed 20/20 tests, 0.00% okay
t/01setup...........skipped
all skipped: cannot test without DB info
t/02prepare.........skipped
all skipped: cannot test without DB info
t/03bind............skipped
all skipped: cannot test without DB info
t/04execute.........skipped
all skipped: cannot test without DB info
t/05fetch...........skipped
all skipped: cannot test without DB info
t/06disconnect......skipped
all skipped: cannot test without DB info
t/07reuse...........skipped
all skipped: cannot test without DB info
t/08txn.............skipped
all skipped: cannot test without DB info
t/09autocommit......skipped
all skipped: cannot test without DB info
t/11quoting.........skipped
all skipped: cannot test without DB info
t/12placeholders....skipped
all skipped: cannot test without DB info
t/13pgtype..........skipped
all skipped: cannot test without DB info
t/15funct...........skipped
all skipped: cannot test without DB info
t/99cleanup.........skipped
all skipped: cannot test without DB info
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/00basic.t 0 5 ?? ?? % ??
t/01constants.t 0 5 20 20 100.00% 1-20
15 tests skipped.
Failed 2/17 test scripts, 88.24% okay. 20/20 subtests failed, 0.00%
okay.
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK
I'm running Perl 5.8.0 which I compiled myself...
perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0)
configuration:
Platform:
osname=darwin, osvers=6.2, archname=darwin
uname='darwin thundercles.local. 6.2 darwin kernel version 6.2:
tue nov 5 22:00:03 pst 2002; root:xnuxnu-344.12.2.obj~1release_ppc
power macintosh powerpc '
config_args='-de -Dprefix=/usr -Dpreladmin=coy0t3@charter.net'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-pipe -fno-common -no-cpp-precomp
-fno-strict-aliasing',
optimize='-O3',
cppflags='-no-cpp-precomp -pipe -fno-common -no-cpp-precomp
-fno-strict-aliasing'
ccversion='', gccversion='3.1 20020420 (prerelease)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -flat_namespace'
libpth=/usr/lib
libs=-lm -lc
perllibs=-lm -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true,
libperl=libperl.dylib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -flat_namespace -bundle -undefined
suppress'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under darwin
Compiled at Dec 12 2002 03:30:27
@INC:
/System/Library/Perl/darwin
/System/Library/Perl
/Library/Perl/darwin
/Library/Perl
/Library/Perl
/Network/Library/Perl/darwin
/Network/Library/Perl
/Network/Library/Perl
Can anyone assist me with this?
Thank you