I never exactly found my problem, but it stemmed from something
to do with dynamic loading, and I ultimately rebuilt Perl.
Lessons learned:
1- Before attempting to rebuild Apache with mod_perl, be sure to
back up both the operational Apache and Perl, because mod_perl
diddles with some of the things in Perl's directories. (I think
it was libperl.a.)
2- Don't NFS-mount Perl from the production system while doing
your build on another machine.
3- Keep careful notes on the build process, including every step
you did. If it takes several tries with changes to get it right,
start over from scratch and make sure you didn't omit something
in your notes. You don't want to have doubts about what options
you chose six months later.
4- Don't send a note to someone who's having trouble, teasing him
for having done something foolish, unless you're real good
friends or have something substantive to offer. (Someone sent me
a note telling me I'd done something stupid, but he didn't have
anything helpful to say. It's a pity that cow chips won't fit
into email.)
--
Bruce A. Johnson PictureVision, Inc.
Sr. Software Engineer 250-A Exchange Pl.
(703)925-4075 Herndon, VA 20170
http://info.photonet.com
"Bruce A. Johnson" wrote:
>
> I just rebuilt my Apache server (1.3.6) last week. I enabled the
> cern_meta module, the usertrack module, and the expires module,
> and I upgraded mod_perl from 1.19 to 1.21. I did a clean build
> from the distribution tar-balls.
>
> My "tricky" applications seemed to work okay, so I put it into
> production. Now I find that one of my other apps is broken:
>
> > Software error:
> >
> > Can't load '/opt/perl/lib/5.00502/sun4-solaris/auto/Fcntl/Fcntl.so' for module
> > Fcntl: ld.so.1: /opt/apache/bin/httpd: fatal: relocation error: file
> > /opt/perl/lib/5.00502/sun4-solaris/auto/Fcntl/Fcntl.so: symbol main: referenced
> > symbol not found at /opt/perl/lib/5.00502/sun4-solaris/DynaLoader.pm line 168. at
> > (eval 168) line 3
>
> I don't know whether I've stumbled across a problem in mod_perl
> 1.21 or whether I inadvertently mucked something up. I'm
> starting a rebuild with 1.19 to see if the problem can be
> reproduced; however, if anyone has some advice for a dumb
> so-and-so, I'll gladly accept it.
>
> Thanks!
> --
> Bruce A. Johnson PictureVision, Inc.
> Sr. Software Engineer 250-A Exchange Pl.
> (703)925-4075 Herndon, VA 20170
> http://info.photonet.com