Strange perl problem

I’ve looked through the archives (well, some of them anyway), and can’t
find a clue about what’s wrong here …

I’ve got RT running on a test machine, no problem. I went to install it
on the real machine, and it doesn’t work. The CGI scripts fail with the
error message below. The same error appears in apache’s errors log.
Here’s the strange part: as root or as myself, I can run the cgi script
from the command line and it dutifully spits out the HTML. It seems to
be the rt account that is having a problem with perl. The file
is sitting where it belongs in /usr/local/lib/perl5/5.6.0 which appears
in @INC!

I’ve also attached some info about the environment; it’s the same on
both machines, other than the fact that the test machine is an Sun Ultra
5. Both are running Solaris 8; the production machine is about a year
newer, though, so it may have a slightly newer rev of Solaris 8. (The
production machine is a Sun 220R, but uname reports it as an Ultra 60.
Hmmm. Maybe the 220R is just a sideways Ultra 60 :slight_smile: I’m running
apache_1.3.19 on both machines. I ditched Sun’s apache and perl both,
and compiled them from source with the gcc package from

Any ideas? I’d love to get RT working for real. Thanks. – Brian

su - rt

Sun Microsystems Inc. SunOS 5.8 Generic February 2000
$ /opt/rt/bin/cgi/webrt.cgi
Can’t locate in @INC (@INC contains:
/usr/local/lib/perl5/5.6.0/sun4-solaris /usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl) at
/opt/rt/bin/ line 6.

$ env
$ uname -a
SunOS PCServer2 5.8 Generic_108528-06 sun4u sparc SUNW,Ultra-60
$ perl -v

This is perl, v5.6.0 built for sun4-solaris

$ gcc -v
Reading specs from
gcc version 2.95.2 19991024 (release)

Brian J. Doherty, Ph.D.
Information Technology, CSPCC; VA Health Care System, Palo Alto; 650-493-5000 x22530