On Sun, 24 Jun 2001, Todd Goldenbaum wrote:
> On Sun, 24 Jun 2001, Stas Bekman wrote:
>
> > On Sun, 24 Jun 2001, Brooklyn Linux Solutions CEO wrote:
> >
> > > > > It's got to be built in. My mod_perl conf keeps looking in 5.6.0 in the @INC
> > > > > array even after the 5.6.1 upgrade
> > > >
> > > I got sick of the problem and linked 5.6.1 into 5.6.0
> >
> > You could achieve the same with:
> >
> > startup.pl:
> > -----------
> > use lib qw(/usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1);
> >
> > note that lib.pm takes care of adding the arch lib paths (i686-linux on my
> > machine) and removing dups.
>
> interesting. I created a symlink to my 5.6.1 binary, and I am pointing to
> the 5.6.1 libraries within my PerlRequire script (in my case it's mason's
> handler.pl)... and yet, modperl is still using 5.6.0!
also notice that this will work only if your libs are binary compatible.
did you make 4 symlinks? I've numbered these below as 1-4
mine is:
$ perl -V
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING USE_LARGE_FILES
Built under linux
Compiled at Apr 20 2001 22:58:59
@INC:
1 /usr/lib/perl5/5.6.1/i686-linux
2 /usr/lib/perl5/5.6.1
3 /usr/lib/perl5/site_perl/5.6.1/i686-linux
4 /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl/5.005
/usr/lib/perl5/site_perl
.
> I am really at a loss... I'm really hoping i won't have to rebuild mod_perl
> as this particular server is using a pre-built SSL version we don't want to
> break ;) but would that even help? Is sounds like it shouldn't be necessary.
>
> thanks
> todd
>
>
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/