How to fix “Can’t locate Search/Xapian.pm in @INC”

perlError: Can't locate Search/Xapian.pm in @INC (you may need to install the Search::Xapian module) (@INC contains: /path/to/something /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at (eval 143) line 2. BEGIN failed--compilation aborted at (eval 143) line 2.

To fix this, in ubuntu 14.04, just type:

$ sudo apt-get install libsearch-xapian-perl

Comments

comments

Comments are Disabled