[Koha] Koha error when upgrading from Ubuntu 9.04 to Ubuntu 9.10

mattwelch welchmat at gmail.com
Thu Feb 18 23:46:12 NZDT 2010




To+ wrote:
> 
> On Wed, Feb 17, 2010 at 6:36 AM, mattwelch <welchmat at gmail.com> wrote:
>>
>>
>>
>> David Lo wrote:
>>>
>>> Hi All.
>>> I have got an issue with my koha installation.
>>> I have just upgraded from Ubuntu 9.04 to Ubuntu 9.10 but i can't seem to
>>> get koha working now.
>>> When i get to my koha installation i am getting the below errors.
>>> I am currently using koha 3.0.3.
>>> Any help will be greatly appreciated.
>>> Thanks
>>> David.
>>>
>>> Koha error
>>> The following fatal error has occurred:
>>>
>>> Can't load '/usr/local/lib/perl/5.10.0/auto/Net/Z3950/ZOOM/ZOOM.so' for
>>> module Net::Z3950::ZOOM: libyaz.so.2: cannot open shared object file: No
>>> such file or directory at /usr/lib/perl/5.10/XSLoader.pm line 64.
> 
> You could try reinstalling Net::Z3950::ZOOM with the cpan command:
> 
> cpan Net::Z3950::ZOOM
> 
> it should recompile the library against the current yaz libs.
> 
> And, by the way, Why not using an LTS release of Ubuntu like 8.04?
> Support for 9.10 ends in 2011, while 8.04 in 2013. So, you'd have less
> pain with this upgrades. Non-LTS releases have only 2 year of support,
> which for a production site is (IMHO) not advisable...
> 
> To+
> 
> 
> 

cpan Net::Z3950::ZOOM in my case reports that Net::Z3950::ZOOM is up to date
and the problem described by David persists.

I have since discovered that rather than creating a symbolic link
tolibyaz.so.2 and in order to make Tomás's solution work you first needto
uninstall the perl module Net::Z3950::ZOOM currently installed (itis the
same version in 9,04 and 9,10 but will have been compiledagainst different
yaz libraries -hence cpan reporting already up todate and installed).

Uninstall the Perl module Net::Z3950::ZOOM via CPANPLUS  (or any other
method you are comfortable with) -if you don't have CPANPLUS installed then:

sudo perl -MCPAN -e shell

install CPANPLUS
cpan> exit

Then Uninstall the Net::Z3950::ZOOM module.

sudo perl -MCPANPLUS -e shell

CPAN> u Net::Z3950::ZOOM --verbose


Now use cpan to reinstall Net::Z3950::ZOOM and it should compile against
libyaz.so.3 and thus work fine.

sudo cpan Net::Z3950::ZOOM

You may get a message that you need to install libyaz3-dev -if this is the
case then:

sudo apt-get install libyaz3-dev 

Then run the cpan install again and all should work fine.

Matthew
-- 
View this message in context: http://old.nabble.com/Koha-error-when-upgrading-from-Ubuntu-9.04-to-Ubuntu-9.10-tp26521908p27637041.html
Sent from the Koha - Discuss mailing list archive at Nabble.com.



More information about the Koha mailing list