Loading ...
Sorry, an error occurred while loading the content.

Re: mod_perl2 make test errors - Apache2::Const

Expand Messages
  • Stas Bekman
    ... In the future please always submit a proper bug report as explained here: http://perl.apache.org/bugs/ so we won t need to guess things. Thanks. ... You ve
    Message 1 of 4 , Jun 7, 2005
    • 0 Attachment
      Gokul P. Nair wrote:
      > Thanks for the link Stas. I'm still stumped as what
      > could be the problem though, because the version of
      > perl i'm using i.e. v5.8.6 is statically linked as is
      > evident from the output of this command:
      >
      > perl -V:useshrplib
      > useshrplib='false';

      In the future please always submit a proper bug report as explained here:
      http://perl.apache.org/bugs/
      so we won't need to guess things. Thanks.

      > but then there is only one instance of libperl.a and
      > there are no bogus instances of it which is evident
      > from this 'find' command:
      >
      > find / | grep libperl*
      > /usr/local/lib/perl5/5.8.6/i686-linux/CORE/libperl.a
      > /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
      > /usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE/libperl.so
      > /usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/libperl.so
      > /usr/lib/perl5/5.8.4/i386-linux-thread-multi/CORE/libperl.so
      > /usr/lib/perl5/5.8.2/i386-linux-thread-multi/CORE/libperl.so
      > /usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE/libperl.so


      Here is your problem:

      > ldd /usr/local/apache2/bin/httpd
      > libperl.so =>
      > /usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/libperl.so
      > (0x02c87000)

      You've apache linked against dynamically built perl.

      Also check:
      ldd /usr/local/src/mod_perl-2.0.0/blib/arch/auto/Apache2/Const/Const.so

      > LD_PRELOAD=/usr/local/lib/perl5/5.8.6/i686-linux/CORE/libperl.a
      > /usr/local/src/mod_perl-2.0.0/src/modules/perl/mod_perl.so
      > Segmentation fault

      You can't preload an archive as .so object, I'm not sure why does it even
      let you do that.

      --
      __________________________________________________________________
      Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
      http://stason.org/ mod_perl Guide ---> http://perl.apache.org
      mailto:stas@... http://use.perl.org http://apacheweek.com
      http://modperlbook.org http://apache.org http://ticketmaster.com
    Your message has been successfully submitted and would be delivered to recipients shortly.