Advertisement
rutera

Error: Debian/Ubuntu - Can't locate LWP/UserAgent.pm in @INC

Jan 8th, 2015
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. You get an error like this one:
  2. Can't locate LWP/UserAgent.pm in @INC (@INC contains: /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.10.0 /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update line 81.
  3. BEGIN failed--compilation aborted at /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update line 81.
  4.  
  5.  
  6. Solution
  7.  
  8. Install the libwww-perl package:
  9. apt-get install libwww-perl
  10.  
  11. On Ubuntu you have to prepend the command with sudo if you are not logged in as root:
  12. sudo apt-get install libwww-perl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement