On Thu, Jul 06, 2000 at 07:08:03PM -0500, John Marquart wrote:
> Environment:
> AIX 4.3.3
> xlc
> apache 1.3.12
> mod_perl 1.22
> perl 5.00503 (compiled w/ INSTALL patch, details below)
>
> I have had various difficulties trying to get mod_perl to compile
> successfully using perl 5.6.0, also w/ mod_perl 1.24. However, with the
> above configuration I have had no compilation problems. When I try to
> include a module in httpd.conf w/ a "PerlModule
> Apache::IU::AuthenKerberos" statement & then run apachectl start I get the
> following error message:
>
> bash-2.01# ./apachectl start
> Syntax error on line 191 of /usr/local/apache_perl.4/conf/httpd.conf:
> Can't load
>
>'/usr/local/lib/perl5/site_perl/5.005/aix/auto/Apache/IU/AuthenKerberos/AuthenKerberos.so'
> for module Apache::IU::AuthenKerberos: dlopen:
>
>/usr/local/lib/perl5/site_perl/5.005/aix/auto/Apache/IU/AuthenKerberos/AuthenKerberos.so:
> 30
>
>/usr/local/lib/perl5/site_perl/5.005/aix/auto/Apache/IU/AuthenKerberos/AuthenKerberos.so36
> ap_add_module 20 httpd36 ap_null_cleanup 21 httpd36 ap_palloc 22 httpd36
> ap_register_cleanup 23 httpd at
> /usr/local/lib/perl5/5.00503/aix/DynaLoader.pm line 169.
This suspicially looks like you have some imports in the AuthenKerberos
wrong. Modules that are plug-ins to Perl but at the same time need to
reference Apache symbols need some more ld flags to compile. The
Apache::src modules knows which:
$ perl -MApache::src -le 'print Apache::src->new->otherldflags;'
-bI:/usr/local/lib/perl5/site_perl/5.005/aix/auto/Apache/mod_perl.exp
-bI:/usr/local/apache/libexec/httpd.exp
Add these to the link line of the AuthenKerberos module. If that still
does not work, I would need to examine the exact link command line and
the output of "dump -nv AuthenKerberos.so".
--
Jens-Uwe Mager
HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany
Phone: +49 5131 709320
FAX: +49 5131 709325
Internet: [EMAIL PROTECTED]