On Thursday, 2002-08-08 at 10:16:44 -0700, John E. Mendenhall wrote: > On Thu, 8 Aug 2002, Lupe Christoph wrote:
> > There is no Log.so in my Solaris 8/Apache 1.3.22/mod_perl 1.26 > > installation. While I have src/modules/perl/Log.xs, this is not > > used, but the Log.pm. ... and Log.pm ist a POD. > > Syntax error on line 1341 of /usr/local/apache/conf/httpd.conf: > > Can't locate loadable object for module Apache::Log in @INC (@INC > > contains: /opt/cybercash/mck/perl-api > > /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 > > /usr/local/lib/perl5/site_perl/5.6.1/ sun4-solaris > > /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl > > /usr/local/lib/perl5/si te_perl/sun4-solaris . > > /usr/local/apache-mod_perl/ /usr/local/apache-mod_perl/lib/perl) at > > /usr/local/li b/perl5/site_perl/5.6.1/sun4-solaris/mod_perl.pm line 14 This looks OK. I have located the error message in ext/DynaLoader/DynaLoader_pm.PL in perl (bleadperl, but that probably hasn't changed a long time). It's in sub bootstrap. Since mod_perl seems to play tricks with bootstrap, I don't really know how this comes into play. The fate of Log.xs from mod_perl-1.26/src/modules/perl/Log.xs is: it is copied to apache_1.3.22/src/modules/perl/Log.xs, and apache_1.3.22/src/modules/perl/Log.c is generated from it. That in turn produces Log.o, which in the statically linked case I have, goes into libperl.a. And that is linked into httpd. Please check your apache_1.3.27/src/modules/perl for Log.*. If you have the three files, do "ar tv libperl.a" and look for Log.o. If this is still present, do "nm httpd | grep XS_Apache__Log". You should get a couple of lines like this: [3561] | 503856| 232|FUNC |GLOB |0 |9 |XS_Apache__Log_alert [6456] | 504088| 232|FUNC |GLOB |0 |9 |XS_Apache__Log_crit [5099] | 505248| 232|FUNC |GLOB |0 |9 |XS_Apache__Log_debug [6188] | 503624| 232|FUNC |GLOB |0 |9 |XS_Apache__Log_emerg [3426] | 504320| 232|FUNC |GLOB |0 |9 |XS_Apache__Log_error [3250] | 505016| 232|FUNC |GLOB |0 |9 |XS_Apache__Log_info [6242] | 503272| 352|FUNC |GLOB |0 |9 |XS_Apache__Log_log [4790] | 504784| 232|FUNC |GLOB |0 |9 |XS_Apache__Log_notice [5051] | 504552| 232|FUNC |GLOB |0 |9 |XS_Apache__Log_warn If you have a dynamically linked mod_perl, check libexec/libperl.so. HTH, Lupe Christoph -- | [EMAIL PROTECTED] | http://www.lupe-christoph.de/ | | I have challenged the entire ISO-9000 quality assurance team to a | | Bat-Leth contest on the holodeck. They will not concern us again. | | http://public.logica.com/~stepneys/joke/klingon.htm |