Hi,
I have a mod_perl 1.24 installed installed with
Apache 1.3.12 in solaris. Perl at the time I installed mod_perl/Apache was
5.005. This distribution did not include ByteLoader. I now have a
need for ByteLoader. Using the CPAN mod I installed it which really just
went all the way and installed 5.6.1. The problem is that it is not find
toe the modules for 5.6.1, in fact it seem to be running the old perl thoughh
I'm not sure why or how. In the error log for apache I get:
Can't locate ByteLoader.pm in @INC (@INC contains:
/usr/local/apache2_mod_perl/mod_perl /usr/local/apache2_mod_perl/mod_perl
/usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris
/usr/local/lib/perl5/site_perl/5.005 . /usr/local/apache2_mod_perl/
/usr/local/apache2_mod_perl/lib/perl)
Yet this perl -e "print @INC" print
this:
/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/5.005/sun4-solaris/usr/local/lib/perl5/site_perl/5.005/usr/local/lib/perl5/site_perl.
And same for /usr/local/bin/perl -e "print @INC"
and /usr/bin/perl
I copied all the Byteloader files from 5.6.1 to
5.005 but that caused a sybols error:
Can't load
'/usr/local/lib/perl5/5.00503/sun4-solaris/auto/ByteLoader/ByteLoader.so' for
module ByteLoader: ld.so.1: /usr/local/apache2_mod_perl/bin/httpd: fatal:
relocation error: file
/usr/local/lib/perl5/5.00503/sun4-solaris/auto/ByteLoader/ByteLoader.so: symbol
PL_ppaddr: referenced symbol not found at
/usr/local/lib/perl5/5.6.1/sun4-solaris//XSLoader.pm line 75.
OK thats logical, it was built for 5.6.1.....but
how do I make mod_perl respect the new perl binary...do I have to recompile
mod_perl/Apache????
Jason Z. Leidigh Project Leader UOL Internacional Av.Libertador 1068 - Piso 3 Capital Federal - ( C1112ABN ) Buenos Aires - Argentina T.E: 0054-11-5777-2446 Fax: 0054-11-5777-2402 www.uol.com.ar [EMAIL PROTECTED] |
- Re: New Install Perl 5.6.1- mod_perl not findind mods Jason Leidigh
- Re: New Install Perl 5.6.1- mod_perl not findind m... darren chamberlain