You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Andy Williams <an...@hillway.com> on 2001/02/12 18:03:22 UTC

Problem with libapreq on RH 6.2

I have seen mails flying around about a problem on RH using RPMs for
Apache/mod_perl and libapreq.
So I decided to build Apache (1.3.17), mod_perl (1.25) and libapreq
(0.31_03) from source.

All installed without any suggestion of a problem. However, when I try to
run Apache (configured to use OpenInteract 1.05) I get the following
error:
OpenInteract::Startup::require_module (236) >>  --require error:
Apache::Request                         : Can't load
'/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Apache/Request/Request.so'
for module Apache::Request: libapreq.so.0: cannot open shared object file:
No such file or directory at
/usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169, <MOD> chunk 4.

 at /usr/lib/perl5/site_perl/5.005/i386-linux/mod_perl.pm line 65535

OpenInteract::Startup::require_module (236) >>  --require error:
Apache::Cookie                          : Can't load
'/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Apache/Cookie/Cookie.so'
for module Apache::Cookie: libapreq.so.0: cannot open shared object file:
No such file or directory at
/usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169, <MOD> chunk 5.

 at /usr/lib/perl5/site_perl/5.005/i386-linux/mod_perl.pm line 65535

Does anyone have any idea why this is happening?

TIA

Andy

============================================================

"Talkie Toaster: Given that God is infinite, and that the
Universe is also infinite, would you like a toasted tea
cake?"

============================================================


Re: Problem with libapreq on RH 6.2

Posted by Noam Solomon <no...@socketnet.com>.
Hi,
    your system may have perl libraries installed in more than one place --
    set the PERLLIB variable in the root profile to all the places perl
modules
    may be (if you have multiple copies of perl, just stick together the @INC
    from the different ones, or pick one that works...).

    here's an example from a root .bash_profile on a machine that had
    that problem:

PERLLIB="/usr/lib/perl5/5.6.0/i386linux:/usr/lib/perl5/5.6.0:/usr/lib/perl5/site_perl/5.6.0/i386-linux:/usr/lib/perl5/site_perl/5.6.0:/usr/lib/perl5/site_perl:/usr/local/lib/perl5/5.6.0/i586linux:/usr/local/lib/perl5/5.6.0:/usr/local/lib/perl5/site_perl/5.6.0/i586-linux:/usr/local/lib/perl5/site_perl/5.6.0:/usr/local/lib/perl5/site_perl:.:/usr/local/lib/perl5/5.6.0/i686-linux:/usr/local/lib/perl5/5.6.0:/usr/local/lib/perl5/site_perl/5.6.0/i686-linux:/usr/local/lib/perl5/site_perl/5.6.0:/usr/local/lib/perl5/site_perl:."

export ... PERLLIB ...

-Noam


x
Andy Williams wrote:

> I have seen mails flying around about a problem on RH using RPMs for
> Apache/mod_perl and libapreq.
> So I decided to build Apache (1.3.17), mod_perl (1.25) and libapreq
> (0.31_03) from source.
>
> All installed without any suggestion of a problem. However, when I try to
> run Apache (configured to use OpenInteract 1.05) I get the following
> error:
> OpenInteract::Startup::require_module (236) >>  --require error:
> Apache::Request                         : Can't load
> '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Apache/Request/Request.so'
> for module Apache::Request: libapreq.so.0: cannot open shared object file:
> No such file or directory at
> /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169, <MOD> chunk 4.
>
>  at /usr/lib/perl5/site_perl/5.005/i386-linux/mod_perl.pm line 65535
>
> OpenInteract::Startup::require_module (236) >>  --require error:
> Apache::Cookie                          : Can't load
> '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Apache/Cookie/Cookie.so'
> for module Apache::Cookie: libapreq.so.0: cannot open shared object file:
> No such file or directory at
> /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169, <MOD> chunk 5.
>
>  at /usr/lib/perl5/site_perl/5.005/i386-linux/mod_perl.pm line 65535
>
> Does anyone have any idea why this is happening?
>
> TIA
>
> Andy
>
> ============================================================
>
> "Talkie Toaster: Given that God is infinite, and that the
> Universe is also infinite, would you like a toasted tea
> cake?"
>
> ============================================================