[Koha] bulkmarkimport error thrown

Stephen Hedges shedges at skemotah.com
Sat Jan 22 01:11:20 NZDT 2005


Two possible fixes:

Before you run "./bulkmarcimport.pl", export the directory where C4 resides:
# export PERL5LIB=/usr/local/koha/intranet/modules
(that's the normal directory for most installs, change it if yours is
different.)

Or if you use bulkmarcimport a lot, add this line to the list of "use"
statements at the beginning of the script:
use lib "/usr/local/koha/intranet/modules";

Stephen

Anthony S. said:
>
> Hi, can someone point me to a previous message with a qfix for this
> error I was given? /T.
> /usr/local/koha/intranet/scripts/misc# ./bulkmarcimport.pl
> Can't locate C4/Context.pm in @INC (@INC contains:
> /usr/lib/perl5/5.8.0/i386-linux /usr/lib/perl5/5.8.0
> /usr/lib/perl5/site_perl/5.8.0/i386-linux /usr/lib/perl5/site_perl/5.8.0
> /usr/lib/perl5/site_perl .) at ./bulkmarcimport.pl line 10.
> BEGIN failed--compilation aborted at ./bulkmarcimport.pl line 10.
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>


-- 
Stephen Hedges
Skemotah Solutions, USA
www.skemotah.com  --  shedges at skemotah.com



More information about the Koha mailing list