# make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/opt/perl5/lib/
5.6.1/PA-RISC2.0 -I/opt/perl5/lib/5.6.1 -e 'use Test::Harness qw(&runtests
$verb
ose); $verbose=0; runtests @ARGV;' t/*.t
t/base............../usr/lib/dld.sl: Call to mmap() failed - TEXT
/opt/oracle/pr
oduct/8.1.5/lib//libqsmashr.sl
/usr/lib/dld.sl: Permission denied
Failed to load Oracle extension and/or shared libraries:
install_driver(Oracle) failed: Can't load
'blib/arch/auto/DBD/Oracle/Oracle.sl'
for module DBD::Oracle: Permission denied at
/opt/perl5/lib/5.6.1/PA-RISC2.0/Dyn
aLoader.pm line 206.
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/base.t line 19
The remaining tests will probably also fail with the same error.
Can anyone shed some light on why this is happening... The .sl files exist
and appear to have adequate permissions. DBI installed and tested complete.
Kit appeared ok during make for the distribution. TIA
Lincoln
Hope this helps
Wolfgang
-----Ursprüngliche Nachricht-----
Von: Bret Webb [mailto:BW...@roadrunnersports.com]
Gesendet: Montag, 23. September 2002 20:31
An: 'dbi-...@perl.org'
Betreff: Error testing DBD install on HPUX 11...
Wolfgang
-----Ursprüngliche Nachricht-----
Von: Bret Webb [mailto:BW...@roadrunnersports.com]
Gesendet: Mittwoch, 25. September 2002 19:55
An: Leideck, Wolfgang; dbi-...@perl.org
Betreff: RE: Error testing DBD install on HPUX 11...
Yep. Have those. The perl log file sent with the original message references
this. I notice that the cccdlflags='+Z' you referenced is uses a cap Z. Does
this make a difference, as mine is lowercase.
ps. I've reattached the install notes and perl -V info. The perl info is an
update with the -lcl -lpthread references at the beginning of the string as
noted.
---
Wolfgang Leideck
Server Support/Consulting
ONSYS GmbH
Rheinuferstr. 9
D-67061 Ludwigshafen/Rh.
Fon: +49(0)621/58649-0
Fax: +49(0)621/58649-500
E-Mail: Wolfgang...@onsys.de
Bret Webb <BW...@roadrunnersports.com> writes:
>
> Yep. Have those. The perl log file sent with the original message references
> this. I notice that the cccdlflags='+Z' you referenced is uses a cap Z. Does
> this make a difference, as mine is lowercase.
The HP cc man page says:
Normally, +z should be used to generate PIC; however, when certain
limits are exceeded, +Z is required to generate PIC. The ld linker
issues the error indicating when +Z is required.
I have tried compiling DBD with +z and the linker did, indeed,
complain numerous times that +Z was needed.
Incidentally, I'm having a problem when running the DBD Oracle tests on
HPUX with a `nnfotran' symbol not being found. I will send proper
details later, but I thought I'd see if this rang a bell for anyone.
Mark Geary
Bret,
Have you been able to resolve this issue. I am having the same
problem on my system and have not been able to get it to work either.
I am trying to use HPUX11.0 with perl-5.8.0 Oracle-8.1.7 DBI-1.30 and
DBD-1.12.
I have also read re-read and read again ALL of the documents, FAQ and
comments from users groups on this problem.
The farthest I have been able to get is to get a perl script to work
from the
command line when SHLIB_PATH is set correctly (Along with Oracle sid
and Oracle home which is set within the Script).
This scripts WILL NOT work from apache. I get the message:
install_driver(Oracle) failed: Can't load
'/opt/perl5/lib/site_perl/5.8.0/PA-RISC1.1/auto/DBD/Oracle/Oracle.sl'
for module DBD::Oracle: No such
file or directory at /opt/perl5/lib/5.8.0/PA-RISC1.1/DynaLoader.pm
line 229.
at (eval 1) line 3
We are currently running Perl-5.6.0 DBI-1.14, DBD-1.06 with Oracle
8.1.6 and it works fine. It was however compiled with gcc. I have
since ordered the HP ansi C compiler to see if this helps and is did
not.
Has something changed in perl, DBI or DBD that now requires certain
ENV to be set.
PLEASE HELP!!!