Hello,
After doing a portupgrade from perl 5.12.2 to 5.2.13 this morning on my digital archives server (and running the perl-after-upgrade utility, without and then with the -f option), I decided to restart apache for good measure with [cmd=]apachectl graceful[/cmd] and got the following error:
Fortunately [cmd=]ps ax | grep httpd[/cmd] shows me apache is still running. I then decided to cd to /usr/ports/www/mod_perl2 and run [cmd=]make deinstall[/cmd] and then [cmd=]make reinstall[/cmd] to see if that would fix the problem of mod_perl.so finding libperl.so, but now I have this error:
Kinda strange that although it finds perl5.12.3, the latest version I just upgraded TO, the make line is looking for something in the 5.12.2 directory path, the version I just upgraded FROM.
Before I make things worse with "trying stuff", I thought I'd try a less reckless way and ask at the forums here.
After doing a portupgrade from perl 5.12.2 to 5.2.13 this morning on my digital archives server (and running the perl-after-upgrade utility, without and then with the -f option), I decided to restart apache for good measure with [cmd=]apachectl graceful[/cmd] and got the following error:
Code:
httpd: Syntax error on line 106 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_perl.so into server:
Shared object "libperl.so" not found, required by "mod_perl.so"
Fortunately [cmd=]ps ax | grep httpd[/cmd] shows me apache is still running. I then decided to cd to /usr/ports/www/mod_perl2 and run [cmd=]make deinstall[/cmd] and then [cmd=]make reinstall[/cmd] to see if that would fix the problem of mod_perl.so finding libperl.so, but now I have this error:
Code:
===> Installing for ap22-mod_perl2-2.0.4_2,3
===> ap22-mod_perl2-2.0.4_2,3 depends on file: /usr/local/lib/perl5/site_perl/5.12.3/mach/BSD/Resource.pm - found
===> ap22-mod_perl2-2.0.4_2,3 depends on file: /usr/local/sbin/apxs - found
===> ap22-mod_perl2-2.0.4_2,3 depends on file: /usr/local/bin/perl5.12.3 - found
===> ap22-mod_perl2-2.0.4_2,3 depends on file: /usr/local/sbin/apxs - found
===> ap22-mod_perl2-2.0.4_2,3 depends on file: /usr/local/bin/perl5.12.3 - found
===> Generating temporary packing list
===> Checking if www/mod_perl2 already installed
make: don't know how to make /usr/local/lib/perl5/5.12.2/mach/Config.pm. Stop
*** Error code 2
Stop in /usr/ports/www/mod_perl2.
*** Error code 1
Stop in /usr/ports/www/mod_perl2.
Kinda strange that although it finds perl5.12.3, the latest version I just upgraded TO, the make line is looking for something in the 5.12.2 directory path, the version I just upgraded FROM.
Before I make things worse with "trying stuff", I thought I'd try a less reckless way and ask at the forums here.
