[rt-users] odd problem after portupgrade

Nathan J. Mehl rtusers at memory.blank.org
Fri Oct 22 15:42:15 EDT 2004

In one fell swoop, I've recently upgraded my freebsd server to perl
5.8.5, mod_perl 1.29_1, and rt 3.2.2.

Since then we've been seeing random errors when opening up URLs inside
RT, like this:

     error:   	Can't locate unicore/Canonical.pl in @INC (@INC
     contains: /usr/local/lib/perl5/site_perl/5.8.4
     /usr/local/rt3/local/lib /usr/local/rt3/lib
     /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.4/BSDPAN
     /usr/local/lib/perl5/5.8.4/mach /usr/local/lib/perl5/5.8.4 .
     /usr/local/ /usr/local/lib/perl) at
     /usr/local/lib/perl5/5.8.4/utf8_heavy.pl line 81.
     unable to open file  	
     code stack:  	/usr/local/lib/perl5/5.8.4/utf8_heavy.pl:81
     raw error

What's strange about this is that, well... we shouldn't be looking in
the 5.8.4 directories there.  unicore/Canonical.pl is in
/usr/local/lib/perl5/5.8.5.  libperl.so knows this:

     $ strings libperl.so |grep 5.8

...and for that matter, perl knows this:

     Characteristics of this binary (from libperl):
       Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
       Built under freebsd
       Compiled at Oct 21 2004 16:57:56

...and there's (as far as I can tell) nothing in apache's or RT's
configuration or environment that would point to the 5.8.4 @INC rather
than the perl default @INC.

And yet... there the error is.  I've restarted apache and cleaned out
both the session_data and mason_data directories, to no avail.

Am I missing something?


------------------------------------------------------------<memory at blank.org>
     Remember when they told you there'd be no future?  Well, this is it.

More information about the rt-users mailing list