as0k has asked for the wisdom of the Perl Monks concerning the following question:
Alright I was using CPAN. It upgraded my version of perl from 5.6.0 to 5.6.1, but instead of upgrading the old vers. of perl(/usr/bin/perl) it installed itself in /usr/local/bin. All the pm's I download are now installed under the /usr/local. Now when I went to start apache it died, because it couldn't find the PM's it needed under the paths for the old/default version of perl. So, I renamed my old perl binary, and created a symbolic link to the new one, since the new binary(5.6.1) had the correct path information (I've checked it to be sure).
I now try to start apache again, and I get the EXACT same error message with the EXACT same search paths as the 5.6.0 version of perl, instead of the new 5.6.1 paths.
Not to be outdone, I then tried to modify my environment variables, with 'export PERL5LIB='and supplying it the appropriate paths. Then I try start apache. I get the same error message, EXCEPT this time it has the 5.6.0 AND the 5.6.1 paths listed. That means it has the correct paths (yes I check SEVERAL times for typos) AND the old ones, but for some reason it still can't find the PM's. I'm really perplexed on this one. Please help.
Brian
Edit: chipmunk 2001-08-18
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(maverick) Re: Where does Apache get its search path
by maverick (Curate) on Aug 18, 2001 at 07:10 UTC | |
|
Re: Where does Apache get its search path
by perrin (Chancellor) on Aug 18, 2001 at 08:22 UTC |