Re: Perl include directories no longer work in mod_perl

Fred Moyer <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Try 'yum install perl-Config-Simple'.  If that doesn't work, search for the rpm with 'yum search Config-Simple'.  


On Friday, December 23, 2011 at 2:45 PM, Mayuran Yogarajah wrote:

>  
> We just did an upgrade from Centos 5.5 to Centos 5.7 and it seems like the extensions we added to the Perl library directories stopped working:
>  
>  
>  
>  
> [Fri Dec 23 16:40:04 2011] [error] Can't locate Config/Simple.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd)
>  
>  
>  
>  
> We’ve been adding to the library path through /etc/profile:
>  
>  
>  
>  
> LIB_LOCAL=/opt/custom/local
>  
>  
> PERL5LIB=${PERL5LIB}:$LIB_LOCAL/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
>  
>  
> PERL5LIB=${PERL5LIB}:$LIB_LOCAL/lib/perl5/site_perl/5.8.8
>  
>  
>  
>  
> And it looks to be fine:
>  
>  
> echo $PERL5LIB
>  
>  
> :/opt/custom/local/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi:/opt/custom/local/lib/perl5/site_perl/5.8.8
>  
>  
>  
>  
> It’s been working fine until this upgrade to Centos 5.7.
>  
>  
>  
>  
> Please advise. Any help is appreciated.
>  
>  
>  
>  
> Thanks,
>  
>  
> M
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.