Problems with DBD::Pg installation on Tru64 - Mailing list pgsql-general
From | Marcus Claesson |
---|---|
Subject | Problems with DBD::Pg installation on Tru64 |
Date | |
Msg-id | Pine.OSF.3.96.1021204181636.20255D-100000@chah.ucc.ie Whole thread Raw |
List | pgsql-general |
Hi! I wonder if anyone could help me with this DBD::Pg installation problem. I successfully installed both perl 5.8.0 and DBI-1.32, but somehow the 'make test' always fails as shown below. Basically the problems start when it can't load '.DBD-Pg-1.20/blib/arch/auto/DBD/Pg/Pg.so', and I can't figure out why. These are all the gory details... postgreSQL version: postgresql-7.3 DBD-Pg version: DBD-Pg-1.20 DBI version: DBI-1.32 Platform: Compaq Tru64 UNIX V5.1 (Rev. 732); Wed Nov 13 12:36:34 GMT 2002 --- miah.ucc.ie> perl -v This is perl, v5.8.0 built for alpha-dec_osf ---- miah.ucc.ie> perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=dec_osf, osvers=5.1, archname=alpha-dec_osf uname='osf1 miah.ucc.ie v5.1 732 alpha ' config_args='-de' 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=define use64bitall=define uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-std -D_INTRINSICS -fprm d -ieee -I/usr/local/include -DLANGUAGE_C', optimize='-O4', cppflags='-std -D_INTRINSICS -ieee -I/usr/local/include -DLANGUAGE_C' ccversion='V6.3-027', gccversion='', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='ld', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /var/shlib libs=-ldbm -ldb -lm -lcrypt -lutil perllibs=-lm -lcrypt -lutil libc=/usr/shlib/libc.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-rpath,/usr/local/lib/perl5/5.8.0/alpha-dec_osf/CORE' cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -O4 -msym -std -s -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES Built under dec_osf Compiled at Dec 3 2002 16:45:02 @INC: /usr/local/lib/perl5/5.8.0/alpha-dec_osf /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/alpha-dec_osf /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl . --- These are the relevant env-variables (I think): miah.ucc.ie> env|grep POST POSTGRES_INCLUDE=/home/applic/software/pgsql/include POSTGRES_LIB=/home/applic/software/pgsql/include/libpq POSTGRES_HOME=/home/applic/software/pgsql miah.ucc.ie> env|grep LD_ LD_LIBRARY_PATH=/home/applic/software/pgsql/lib ---- Here the installation starts: ---- miah.ucc.ie> perl Makefile.PL Configuring Pg Remember to actually read the README file ! OS: dec_osf Using DBI 1.32 installed in /usr/local/lib/perl5/site_perl/5.8.0/alpha-dec_osf/auto/DBI Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lpq Writing Makefile for DBD::Pg --- miah.ucc.ie> make cc -c -I/home/applic/software/pgsql/include -I/usr/local/lib/perl5/site_perl/5.8.0/alpha-dec_osf/auto/DBI -std -D_INTRINSICS -fprm d -ieee -I/usr/local/include -DLANGUAGE_C -O4 -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\" "-I/usr/local/lib/perl5/5.8.0/alpha-dec_osf/CORE" Pg.c cc -c -I/home/applic/software/pgsql/include -I/usr/local/lib/perl5/site_perl/5.8.0/alpha-dec_osf/auto/DBI -std -D_INTRINSICS -fprm d -ieee -I/usr/local/include -DLANGUAGE_C -O4 -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\" "-I/usr/local/lib/perl5/5.8.0/alpha-dec_osf/CORE" dbdimp.c Running Mkbootstrap for DBD::Pg () chmod 644 Pg.bs ar cr tmp.a Pg.o dbdimp.o : tmp.a rm -f blib/arch/auto/DBD/Pg/Pg.so LD_RUN_PATH="" ld -shared -expect_unresolved "*" -O4 -msym -std -s -L/usr/local/lib -all tmp.a -none -o blib/arch/auto/DBD/Pg/Pg.so 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 Manifying blib/man3/DBD::dbd-pg.3 Manifying blib/man3/DBD::Pg.3 --- miah.ucc.ie> make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00basic...........Can't load '/home/applic/software/PERL_MODULES/DBD-Pg-1.20/blib/arch/auto/DBD/Pg/Pg.so' for module DBD::Pg: dlopen: /home/applic/software/PERL_MODULES/DBD-Pg-1.20/blib/arch/auto/DBD/Pg/Pg.so: symbol "PQconnectdb" unresolved at /usr/local/lib/perl5/5.8.0/alpha-dec_osf/DynaLoader.pm line 229. at t/00basic.t line 4 Compilation failed in require at t/00basic.t line 4. BEGIN failed--compilation aborted at t/00basic.t line 4. t/00basic...........dubious Test returned status 255 (wstat 65280, 0xff00) t/01connect.........skipped all skipped: cannot test without DB info t/01constants.......Can't load '/home/applic/software/PERL_MODULES/DBD-Pg-1.20/blib/arch/auto/DBD/Pg/Pg.so' for module DBD::Pg: dlopen: /home/applic/software/PERL_MODULES/DBD-Pg-1.20/blib/arch/auto/DBD/Pg/Pg.so: symbol "PQconnectdb" unresolved at /usr/local/lib/perl5/5.8.0/alpha-dec_osf/DynaLoader.pm line 229. at t/01constants.t line 4 Compilation failed in require at t/01constants.t line 4. BEGIN failed--compilation aborted at t/01constants.t line 4. # No tests run! t/01constants.......dubious Test returned status 255 (wstat 65280, 0xff00) 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 255 65280 ?? ?? % ?? t/01constants.t 255 65280 20 20 100.00% 1-20 15 tests skipped. Failed 2/17 test scripts, 88.24% okay. 20/20 subtests failed, 0.00% okay. *** Exit 2 Stop. ------------------ Really gratefull for any help!!! Regards, Marcus Claesson
pgsql-general by date: