<div>I had the similar problem and I did the following. It is working.</div><div><br></div><div>I assume that you have installed koha in /usr/share/koha </div><div><br></div><div>Now you need to do the following:</div><div>

<br></div><div>$ sudo cp -a /usr/share/koha/lib/* /etc/perl</div><div><br></div><div><br></div><br><div class="gmail_quote">2009/11/10 Jesse <span dir="ltr">&lt;<a href="mailto:pianohacker@gmail.com">pianohacker@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><br><div class="gmail_quote">2009/11/10 Amy Schuler <span dir="ltr">&lt;<a href="mailto:schulera@caryinstitute.org" target="_blank">schulera@caryinstitute.org</a>&gt;</span><br>

<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div><div class="h5">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Hello, </span></p>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Recently,
I finally ran Bulkmarcimport.pl to import a batch of my MARC records into my
newly installed Koha </span><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">3.0001005. 
Here is the error message I received:</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"> </span></p>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">unable
to locate Koha configuration file koha-conf.xml at /etc/perl/C4/Context.pm line
312.</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">unable
to locate Koha configuration file koha-conf.xml at /etc/perl/C4/Context.pm line
312.</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">unable
to locate Koha configuration file koha-conf.xml at /etc/perl/C4/Context.pm line
312.</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">unable
to locate Koha configuration file koha-conf.xml at /etc/perl/C4/Context.pm line
312.</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Can&#39;t
call method &quot;config&quot; on unblessed reference at
/etc/perl/C4/Context.pm line 654.</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Compilation
failed in require at /etc/perl/C4/Items.pm line 30.</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Compilation
failed in require at kohaclone/misc/migration_tools/<a href="http://bulkmarcimport.pl" target="_blank">bulkmarcimport.pl</a> line 24.</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">BEGIN
failed--compilation aborted at kohaclone/misc/migration_tools/<a href="http://bulkmarcimport.pl" target="_blank">bulkmarcimport.pl</a>
line 24.</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"> </span></p>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">I
googled this error, and in a Koha listserve archive I read that I should export
</span><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">PERL5LIB=/home/koha/kohaclone. 
I checked with my IT guy about this, and he told me that PERL5LIB path is
already set to /home/koha/kohaclone.  Neither one of us has any other
ideas.  Do you?</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"> </span></p>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Thanks again
to all of you who have provided advice &amp; assistance over the past few
months.  I truly appreciate it and hope that I will be able to repay the
debt someday by helping other new users of Koha…</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"> </span></p>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Amy</span></p>

<p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"> </span></p>

<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Lucida Bright&quot;,&quot;serif&quot;">Amy
C. Schuler</span></p>

<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Lucida Bright&quot;,&quot;serif&quot;">Manager
of Information Services</span></p>

<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Lucida Bright&quot;,&quot;serif&quot;">Cary
Institute of Ecosystem Studies</span></p>

<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Lucida Bright&quot;,&quot;serif&quot;">PO
Box AB </span></p>

<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Lucida Bright&quot;,&quot;serif&quot;">Millbrook,
NY  12545</span></p>

<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Lucida Bright&quot;,&quot;serif&quot;">(845)
677-7600 x164</span></p>

<p class="MsoNormal"><a href="mailto:schulera@ecostudies.org" target="_blank"><span style="font-size:10pt;font-family:&quot;Lucida Bright&quot;,&quot;serif&quot;;color:blue">schulera@caryinstitute.org</span></a></p>


<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Lucida Bright&quot;,&quot;serif&quot;"> </span></p>

<p class="MsoNormal"> </p>

</div>

</div>


<br></div></div><div class="im">_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz" target="_blank">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
<br></div></blockquote></div><br>You have to export one other environment variable:<br><br>KOHA_CONF=/etc/koha/koha-conf.xml<br><br>The actual path will vary based on where you installed Koha to, but the filename will always be koha-conf.xml.<br clear="all">

<font color="#888888">
<br>-- <br>Jesse Weaver<br>
</font><br>_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Nitesh Rijal<br>BE IT<br><a href="http://niteshrijal.com.np">http://niteshrijal.com.np</a><br>+9779841458173<br>