Asked by duncanb7
at 2024-12-18 03:33:55
Point:500 Replies:9 POST_ID:828866USER_ID:11059
Topic:
Linux;Apache Web Server;Shell Scripting
I have re-installed perl package, and then logout and login my account again.
After logging with login and password through SSH shell access, it prompt
me some error such as
that message is probably related to the old version of perl and path setup .
So I go to check my .bashrc script at my user account and root account , both files don't have any command related to perl. Where is such error perl command stored so that I can delete it and get rid of the error message or change the path to new version of perl.
So besides shell script, what is other linux startup files will run when user access account through SSH ?
And new version of perl is okay after check perl -v command
Please advise
Duncan
my .bashrc file at root or user account
==============
After logging with login and password through SSH shell access, it prompt
me some error such as
Can't locate local/lib.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.16.2/x86_64-linux /usr/local/lib/perl5/site_perl/5.16.2 /usr/local/lib/perl5/5.16.2/x86_64-linux /usr/local/lib/perl5/5.16.2 .).
BEGIN failed--compilation aborted.
BEGIN failed--compilation aborted.
that message is probably related to the old version of perl and path setup .
So I go to check my .bashrc script at my user account and root account , both files don't have any command related to perl. Where is such error perl command stored so that I can delete it and get rid of the error message or change the path to new version of perl.
So besides shell script, what is other linux startup files will run when user access account through SSH ?
And new version of perl is okay after check perl -v command
Please advise
Duncan
my .bashrc file at root or user account
==============