Hi, Any thoughts on this problem...Thanks 
-Prasanna

My DBI installation went well. During the 'make test' stage of the DBD::Oracle 
installation I am getting an error like this... 
-------------------------------------------------------------
Sun 5.7 
DBI 1.14
-------------------------------------------------------------
# make test
mkdir blib
mkdir blib/lib
mkdir blib/lib/DBD
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/DBD
mkdir blib/arch/auto/DBD/Oracle
mkdir blib/lib/auto
mkdir blib/lib/auto/DBD
mkdir blib/lib/auto/DBD/Oracle
mkdir blib/man1
mkdir blib/man3
cp Oraperl.pm blib/lib/Oraperl.pm
cp Oracle.pm blib/lib/DBD/Oracle.pm
cp oraperl.ph blib/lib/oraperl.ph
/usr/bin/perl -p -e "s/~DRIVER~/Oracle/g" < 
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBI/Driver.xst > Oracle.xsi
/usr/bin/perl -I/usr/local/lib/perl5/5.00503/sun4-solaris 
-I/usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/5.00503/ExtUtils/xsubpp  -typemap 
/usr/local/lib/perl5/5.00503/ExtUtils/typemap Oracle.xs >xstmp.c && mv xstmp.c Oracle.c
gcc -c -I. -I/home/oracle/precomp/public -I/home/oracle/rdbms/public 
-I/home/oracle/rdbms/demo -I/home/oracle/plsql/public -I/home/oracle/network/public 
-I/home/oracle/rdbms/demo -I/home/oracle/rdbms/demo 
-I/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBI -I/usr/local/include -O   
  -DVERSION=\"1.06\"  -DXS_VERSION=\"1.06\" -fPIC 
-I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE -Wall -Wno-comment Oracle.c
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/patchlevel.h:41: warning: 
`local_patches' defined but not used
gcc -c -I. -I/home/oracle/precomp/public -I/home/oracle/rdbms/public 
-I/home/oracle/rdbms/demo -I/home/oracle/plsql/public -I/home/oracle/network/public 
-I/home/oracle/rdbms/demo -I/home/oracle/rdbms/demo 
-I/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBI -I/usr/local/include -O   
  -DVERSION=\"1.06\"  -DXS_VERSION=\"1.06\" -fPIC 
-I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE -Wall -Wno-comment dbdimp.c
dbdimp.c: In function `ora_db_login6':
dbdimp.c:250: warning: unsigned int format, long unsigned int arg (arg 5)
dbdimp.c: In function `ora_st_destroy':
dbdimp.c:1624: warning: unused variable `imp_dbh'
dbdimp.c: At top level:
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/patchlevel.h:41: warning: 
`local_patches' defined but not used
gcc -c -I. -I/home/oracle/precomp/public -I/home/oracle/rdbms/public 
-I/home/oracle/rdbms/demo -I/home/oracle/plsql/public -I/home/oracle/network/public 
-I/home/oracle/rdbms/demo -I/home/oracle/rdbms/demo 
-I/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBI -I/usr/local/include -O   
  -DVERSION=\"1.06\"  -DXS_VERSION=\"1.06\" -fPIC 
-I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE -Wall -Wno-comment oci7.c
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/patchlevel.h:41: warning: 
`local_patches' defined but not used
gcc -c -I. -I/home/oracle/precomp/public -I/home/oracle/rdbms/public 
-I/home/oracle/rdbms/demo -I/home/oracle/plsql/public -I/home/oracle/network/public 
-I/home/oracle/rdbms/demo -I/home/oracle/rdbms/demo 
-I/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBI -I/usr/local/include -O   
  -DVERSION=\"1.06\"  -DXS_VERSION=\"1.06\" -fPIC 
-I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE -Wall -Wno-comment oci8.c
oci8.c: In function `dbd_rebind_ph_rset':
oci8.c:414: warning: implicit declaration of function `pp_rebind_ph_rset_in'
oci8.c: In function `dbd_rebind_ph_lob':
oci8.c:435: warning: unsigned int format, ub4 arg (arg 5)
oci8.c: In function `init_lob_refetch':
oci8.c:1214: warning: value computed is not used
oci8.c: At top level:
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/patchlevel.h:41: warning: 
`local_patches' defined but not used
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/home/oracle/lib" gcc -o blib/arch/auto/DBD/Oracle/Oracle.so 
-R/home/oracle/lib -G -L/usr/local/lib Oracle.o  dbdimp.o  oci7.o  oci8.o    
-L/home/oracle/lib/ -L/home/oracle/lib -lclntsh 
chmod 755 blib/arch/auto/DBD/Oracle/Oracle.so
cp Oracle.bs blib/arch/auto/DBD/Oracle/Oracle.bs
chmod 644 blib/arch/auto/DBD/Oracle/Oracle.bs
/usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.00503/sun4-solaris 
-I/usr/local/lib/perl5/5.00503 ora_explain.PL ora_explain
Extracted ora_explain from ora_explain.PL with variable substitutions.
mkdir blib/script
cp ora_explain blib/script/ora_explain
/usr/bin/perl -I/usr/local/lib/perl5/5.00503/sun4-solaris 
-I/usr/local/lib/perl5/5.00503 -MExtUtils::MakeMaker  -e "MY->fixin(shift)" 
blib/script/ora_explain
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr/local/lib/perl5/5.00503 -e 'use 
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............FAILED tests 4-5
        Failed 2/5 tests, 60.00% okay
t/general...........install_driver(Oracle) failed: Can't load 
'blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /usr/bin/perl: 
fatal: relocation error: file /home/oracle/lib/libclntsh.so.1.0: symbol slpmprodstab: 
referenced symbol not found at /usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm 
line 169.

 at (eval 1) line 3
Perhaps a required shared library or dll isn't installed where expected
 at t/general.t line 20
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/long..............Can't load 'blib/arch/auto/DBD/Oracle/Oracle.so' for module 
DBD::Oracle: ld.so.1: /usr/bin/perl: fatal: relocation error: file 
/home/oracle/lib/libclntsh.so.1.0: symbol slpmprodstab: referenced symbol not found at 
/usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.

 at t/long.t line 4
BEGIN failed--compilation aborted at t/long.t line 4.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/plsql.............Can't load 'blib/arch/auto/DBD/Oracle/Oracle.so' for module 
DBD::Oracle: ld.so.1: /usr/bin/perl: fatal: relocation error: file 
/home/oracle/lib/libclntsh.so.1.0: symbol slpmprodstab: referenced symbol not found at 
/usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.

 at t/plsql.t line 17
BEGIN failed--compilation aborted at t/plsql.t line 17.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/reauth............skipping test on this platform
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/base.t                      5    2  40.00%  4-5
t/general.t     255 65280    ??   ??       %  ??
t/long.t        255 65280    ??   ??       %  ??
t/plsql.t       255 65280    ??   ??       %  ??
1 test skipped.
Failed 4/5 test scripts, 20.00% okay. 2/5 subtests failed, 60.00% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'



------------------------------------------------
perl -V
------------------------------------------------

$ perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=solaris, osvers=2.7, archname=sun4-solaris
    uname='sunos 5.7 generic_patch sun4u sparc sunw,ultra-1 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.8.1
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Built under solaris
  Compiled at Jun 27 1999 20:12:35
  @INC:
    /usr/local/lib/perl5/5.00503/sun4-solaris
    /usr/local/lib/perl5/5.00503
    /usr/local/lib/perl5/site_perl/5.005/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.005 

------------------------------------------------------

 

Reply via email to