Issues with DBI on HP-UX (with Apache/mod_perl)
am 20.11.2007 18:02:08 von perldbiHello. I'm having issues getting DBI 1.601 to work with Perl 5.8.3
under HP-UX 11i (v1) with Apache 2.0.55 and mod_perl 1.99. I've tried a
number of things, but the basic issue is this:
When I run a simple Perl script from the command-line with "use
DBI;" and a print statement, it works fine. However, if I try to run
the same script as a Perl module under Apache/mod_perl, I get the
following error:
failed to resolve handler `bem::bem1': Can't find 'boot_DBI' symbol in
/opt/perl/lib/site_perl/5.8.3/PA-RISC2.0/auto/DBI/DBI.sl
at /opt/perl/lib/site_perl/5.8.3/PA-RISC2.0/DBI.pm line 272
That file exists, and an 'nm' shows that the symbol is indeed
there. And, as I mentioned, it works fine when run from the
command-line. If I take the 'use DBI' out, it works fine, but obviously
that's not a workable solution. :)
Does anyone have any thoughts on this? If possible, I would like to
resolve this issue without upgrading any of the components involved due
to procedural issues. I suspect it may be an issue with the way things
were compiled or linked, but I'm really not too sure where to look at
this point. I have tried rebuilding the module from CPAN with
LINKTYPE=static, but that fails with references to issues with Pari.a.
Thanks in advance,
Eddie