hi when i running ./rebuild_zebra.pl i get this error ./rebuild_zebra.pl -b -a Can't locate C4/Context.pm in @INC (@INC contains: /usr/share/koha /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 ./rebuild_zebra.pl line 5. so i can't search any record , any help from koha profs thanks
Mono Lib <monolib@yahoo.com> wrote:
when i running ./rebuild_zebra.pl i get this error ./rebuild_zebra.pl -b -a Can't locate C4/Context.pm in @INC (@INC contains: /usr/share/koha /etc/perl [...]
Looks like the PERL5LIB environment variable isn't set correctly. I guess it might be set because there's some koha path in INC, so try: export PERL5LIB=/path/to/folder/above/C4:$PERL5LIB and then retry the rebuild_zebra.pl command. You may also need to set the KOHA_CONF environment variable to the location of koha-conf.xml in a similar way. Hope that helps, -- MJ Ray (slef) LMS developer and webmaster at | software www.software.coop http://mjr.towers.org.uk | .... co Notice http://mjr.towers.org.uk/email.html | .... op
participants (2)
-
MJ Ray -
Mono Lib