switcharoonie has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, I am trying to run apache 2.2.8 on solaris 10 and I get an error from the runtime that has to do with perl_require_module. This is the error...
ld.so.1: httpd: fatal: relocation error: file /data/users/username/per +l/lib/site_perl/5.8.5/sun4-solaris/auto/Apache/Constants/Constants.so +: symbol perl_require_module: referenced symbol not found
I've looked all over for an answer. Can anyone help with this error, it happens on almost every page request. Thank you. switch.
  • Comment on perl with apache 2.2.8 - referenced symbol not found - perl_require_module
  • Download Code

Replies are listed 'Best First'.
Re: perl with apache 2.2.8 - referenced symbol not found - perl_require_module
by perrin (Chancellor) on Mar 18, 2008 at 21:09 UTC
    You have a broken mod_perl installation. Most likely you upgraded perl and did not recompile mod_perl.
      thanks for your reply. I recompiled mod_perl, but the error is still happening. Any other ideas. I don't mind pasting configs or outputs or anything, just let me know what you need. thanks monks.
        Hmm, it's possible that this is a Solaris-specific issue. You might try asking on the mod_perl mailing list. We have some Solaris people there.

        You might also try using the previous release of apache to check if this is a 2.2.8 issue.

Re: perl with apache 2.2.8 - referenced symbol not found - perl_require_module
by redhotpenguin (Deacon) on Mar 20, 2008 at 06:40 UTC

    Apache::Constants is a mod_perl 1 generation package. Apache 2 requires mod_perl 2. Check to make sure you have mod_perl 2 installed, and you might even want to remove mod_perl 1. It seems as somehow you have your apache2 installation attempting to use mod_perl 1.

      hello, thx rhp.. I have mod_perl 2 installed. This machine currently has apache1 and mod_perl 1 running along side apache 2 and mp2. It's a dev machine and I'm testing on a different port, unfortunately, it's the only machine I have to test with right now. I will see what the mod_perl list has to say and check back.