Ted,
dld.sl is trying to load libwtc8.sl because libclntsh.sl (Oracle's client
library) was linked with it.
My guess is your LD_LIBRARY_PATH isn't set correctly. It should contain
$ORACLE_HOME/lib
Hope this helps,
Mark
"Peterson, Ted" wrote:
> I'd greatly appreciate a clue about this problem; I've been wandering about
> the mail archives, and don't see mention of a solution.
>
> I've built a non-threaded perl5.6.0, adding -lcl and -lpthread to config.sh,
> then built DBI 1.14, then built DBD::Oracle 1.06 with the two patches to the
> Makefile (removing -Wl,+[sn]; adding lqsmashr), all without error until I
> get to "make test" for the DBD.
>
> I get these errors when running make test:
>
> PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
> -I/u1/webadm/perl5/lib/5.6.0/PA-RISC2.0 -I/u1/webadm/perl5/lib/5.6.0 -e 'use
> Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/base............../usr/lib/dld.sl: Can't open shared library:
> /t/a/oracle/lib//libwtc8.sl
> /usr/lib/dld.sl: No such file or directory
> t/base..............ok 3/5FAILED tests 4-5
>
> Failed 2/5 tests, 60.00% okay
> t/general.........../usr/lib/dld.sl: Can't open shared library:
> /t/a/oracle/lib//libwtc8.sl
> /usr/lib/dld.sl: No such file or directory
> install_driver(Oracle) failed: Can't load
> 'blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle: No such file
> or directory at /u1/webadm/perl5/lib/5.6.0/PA-RISC2.0/DynaLoader.pm line
> 200.
> at (eval 1) line 3
> Compilation failed in require at (eval 1) line 3.
> Perhaps a required shared library or dll isn't installed where expected
> at t/general.t line 20
>
> -- snip --
>
> Does anyone know why dld.sl is trying to load "/t/a/oracle/lib//libwtc8.sl"?
>
> Thanks,
>
> Ted Peterson
> Pfizer, Inc
> Ann Arbor, MI
>
> Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
> Platform:
> osname=hpux, osvers=11.00, archname=PA-RISC2.0
> uname='hp-ux aaegret b.11.00 a 9000800 864780421 two-user license '
> config_args='-Ubincompat5005'
> hint=recommended, useposix=true, d_sigaction=define
> usethreads=undef use5005threads=undef useithreads=undef
> usemultiplicity=undef
> useperlio=undef d_sfio=undef uselargefiles=define
> use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
> Compiler:
> cc='cc', optimize='-O', gccversion=
> cppflags='-D_HPUX_SOURCE -Aa +z'
> ccflags =' -D_HPUX_SOURCE +z -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -Ae'
> stdchar='unsigned char', d_stdstdio=define, usevfork=false
> intsize=4, longsize=4, ptrsize=4, doublesize=8
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
> lseeksize=8
> alignbytes=8, usemymalloc=y, prototype=define
> Linker and Libraries:
> ld='ld', ldflags =' -L/usr/local/lib'
> libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
> libs=-lnsl -lnm -lndbm -ldld -lm -lc -lndir -lcrypt -lsec -lcl -lpthread
> libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
> Dynamic Linking:
> dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags=''
> cccdlflags='+z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib'
>
> Characteristics of this binary (from libperl):
> Compile-time options: USE_LARGE_FILES
> Built under hpux
> Compiled at Apr 23 2001 11:06:57
> @INC:
> /u1/webadm/perl5/lib/5.6.0/PA-RISC2.0
> /u1/webadm/perl5/lib/5.6.0
> /u1/webadm/perl5/lib/site_perl/5.6.0/PA-RISC2.0
> /u1/webadm/perl5/lib/site_perl/5.6.0
> /u1/webadm/perl5/lib/site_perl
> .
--
Mark Vandenbroeck Mobile : +32-495-59.55.62
EMEA Support Information Systems Email : [EMAIL PROTECTED]
AIM : markvdb