Hello folks,
I am having a problem that has been reported several times on this list.
I have RTFMed in detail and read through all the the posts on the
DBI-users mailing list archives. But havent found any suggestions or
things to try.
When I get the following error when I run 'make test' for DBD::Oracle
on HP-UX 11.0:
t/base............../usr/lib/dld.sl: Can't shl_load() a library
containing Thread Local Storage: /usr/lib/libcl.2
/usr/lib/dld.sl: Exec format error
t/base..............FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
If I build DBD::Oracle statically linked and then link it into the
perl binary, everything works as usual.
One of the suggestions in the archives was to make sure that I hadn't
built a threads-support into perl. I havent done that. Another was
to try including the -lcl library while building perl. That didnt
let me build perl at all.
Perl : 5.6.1
OS : HP-UX 11.00
CC : HP Ansi C
DBI : 1.15
DBD::Oracle : 1.06
Oracle : 8.0.6
Output of perl -V:
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=hpux, osvers=11.00, archname=PA-RISC2.0
uname='hp-ux bdhp4273 b.11.00 e 9000871 2015901035 8-user license '
config_args='-der'
hint=previous, 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='cc', ccflags ='-D_HPUX_SOURCE -Aa',
optimize='-O',
cppflags='-D_HPUX_SOURCE -Aa'
gs='-b +vnocompatwarnings -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options:
Built under hpux
Compiled at Apr 11 2001 15:25:52
@INC:
/opt/perl5/lib/5.6.1/PA-RISC2.0
/opt/perl5/lib/5.6.1
/opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0
/opt/perl5/lib/site_perl/5.6.1
/opt/perl5/lib/site_perl
Ajit