Hi,

I am currently trying to use mod_perl as a DSO under HP/UX 11
(Apache 1.3.11, mod_perl 1.21).

First, compiling problems appeared: when building libperl.so,
ld was given wrong cc options like "-Wl,-E -Wl,-B,deferred"
(inserted by Configure).
After removal of these, a resulting ld call like this:

ld -L/usr/local/lib -L/usr/local/lib
-L/opt/perl5/lib/5.00502/PA-RISC1.1/CORE -b -o libperl.so
/opt/perl5/lib/5.00502/PA-RISC1.1/auto/DynaLoader/DynaLoader.a mod_perl.lo
perlxsi.lo perl_config.lo perl_util.lo perlio.lo mod_perl_opmask.lo
Apache.lo Constants.lo ModuleConfig.lo Log.lo URI.lo Util.lo Connection.lo
Server.lo File.lo Table.lo -lperl -lnsl -lnm -lndbm -ldld -lm -lc -lndir
-lcrypt

gave a clean build of libperl.so.

However, if I try to start apache, I get

# ./apache start
/usr/lib/dld.sl: Unresolved symbol: boot_DynaLoader (code)  from
/opt/apache/bin/libperl.so

This happens although DynaLoader.a is linked in (see above)
and both libperl.a and DynaLoader.a have been compiled with +Z
for PIC code generation.

Any ideas what could be wrong here?

_____

Thomas Corte
<[EMAIL PROTECTED]>

Reply via email to