This queue is for tickets about the Net-Z3950-ZOOM CPAN distribution.

Report information
The Basics
Id:
68190
Status:
open
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
lingzhai [...] hotmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
1.28
Fixed in:
(no value)



Hi, I am trying to install Koha 3.04.00, and ZOOM 1.28 doesn't seem to load with YAZ 4.1.7. I am using Perl 5.8.8 on Centos 5.5 (64 bit). Any suggestion would be greatly helpuful. Thanks a lot, Ling [root@ koha-3.04.00.000]# perl Makefile.PL Can't load '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Net/Z3950/ZOOM/ZOOM.so' for module Net::Z3950::ZOOM: libyaz.so.4: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/XSLoader.pm line 70. at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Net/Z3950/ZOOM.pm line 10 Compilation failed in require at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/ZOOM.pm line 4. BEGIN failed--compilation aborted at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/ZOOM.pm line 4. Compilation failed in require at /root/Downloads/koha-3.04.00.000/C4/Context.pm line 85. BEGIN failed--compilation aborted at /root/Downloads/koha-3.04.00.000/C4/Context.pm line 85. Compilation failed in require at /root/Downloads/koha-3.04.00.000/C4/Installer.pm line 24. BEGIN failed--compilation aborted at /root/Downloads/koha-3.04.00.000/C4/Installer.pm line 24. Compilation failed in require at Makefile.PL line 31. BEGIN failed--compilation aborted at Makefile.PL line 31.
Subject: Re: [rt.cpan.org #68190]
Date: Mon, 23 May 2011 14:22:45 +0100
To: bug-Net-Z3950-ZOOM@rt.cpan.org
From: Mike Taylor <mike@indexdata.com>
Sorry for the slow response. I have just tried to build ZOOM 1.28 on our own Centos box -- it's running Centos 5.6, and has YAZ 4.20 and Perl 5.8.8. The Perl is the same as yours; the operating system and YAZ are slightly newer, but not by enough that it should make any difference. I build and tested with no problems (full transcript below). This, together with your log, suggests to me that your YAZ installation may be at fault. Can you run the command-line yaz-client? -- Mike. On 14 May 2011 09:46, Ling Zhai via RT <bug-Net-Z3950-ZOOM@rt.cpan.org> wrote:
Show quoted text
> Sat May 14 04:46:22 2011: Request 68190 was acted upon. > Transaction: Ticket created by lingzhai >       Queue: Net-Z3950-ZOOM >     Subject: (No subject given) >   Broken in: 1.28 >    Severity: (no value) >       Owner: Nobody >  Requestors: lingzhai@hotmail.com >      Status: new >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68190 > > > > Hi, > >  I am trying to install Koha 3.04.00, and ZOOM 1.28 doesn't seem to > load with YAZ 4.1.7. I am using Perl 5.8.8 on Centos 5.5 (64 bit). > >  Any suggestion would be greatly helpuful. > > Thanks a lot, > Ling > > [root@ koha-3.04.00.000]# perl Makefile.PL > Can't load > '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Net/Z3950/ZOOM/ZOOM.so' > for module Net::Z3950::ZOOM: libyaz.so.4: cannot open shared object > file: No such file or directory at > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/XSLoader.pm line 70. >  at > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Net/Z3950/ZOOM.pm > line 10 > Compilation failed in require at > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/ZOOM.pm line 4. > BEGIN failed--compilation aborted at > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/ZOOM.pm line 4. > Compilation failed in require at > /root/Downloads/koha-3.04.00.000/C4/Context.pm line 85. > BEGIN failed--compilation aborted at > /root/Downloads/koha-3.04.00.000/C4/Context.pm line 85. > Compilation failed in require at > /root/Downloads/koha-3.04.00.000/C4/Installer.pm line 24. > BEGIN failed--compilation aborted at > /root/Downloads/koha-3.04.00.000/C4/Installer.pm line 24. > Compilation failed in require at Makefile.PL line 31. > BEGIN failed--compilation aborted at Makefile.PL line 31. > > >
My successful transcript: [mike@centos5 ~]$ wget http://search.cpan.org/CPAN/authors/id/M/MI/MIRK/Net-Z3950-ZOOM-1.28.tar.gz --2011-05-23 13:19:19-- http://search.cpan.org/CPAN/authors/id/M/MI/MIRK/Net-Z3950-ZOOM-1.28.tar.gz Resolving search.cpan.org... 199.15.176.161, 207.115.101.144 Connecting to search.cpan.org|199.15.176.161|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://mirror.uni-c.dk/pub/CPAN/authors/id/M/MI/MIRK/Net-Z3950-ZOOM-1.28.tar.gz [following] --2011-05-23 13:19:20-- http://mirror.uni-c.dk/pub/CPAN/authors/id/M/MI/MIRK/Net-Z3950-ZOOM-1.28.tar.gz Resolving mirror.uni-c.dk... 130.226.1.35, 2001:878:0:100::1:35 Connecting to mirror.uni-c.dk|130.226.1.35|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 66800 (65K) [application/x-gzip] Saving to: `Net-Z3950-ZOOM-1.28.tar.gz' 100%[======================================>] 66.800 --.-K/s in 0,02s 2011-05-23 13:19:20 (3,46 MB/s) - `Net-Z3950-ZOOM-1.28.tar.gz' saved [66800/66800] [mike@centos5 ~]$ tar xzf Net-Z3950-ZOOM-1.28.tar.gz [mike@centos5 ~]$ cd Net-Z3950-ZOOM-1.28 [mike@centos5 Net-Z3950-ZOOM-1.28]$ perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Net::Z3950::ZOOM [mike@centos5 Net-Z3950-ZOOM-1.28]$ make cp lib/Net/Z3950/ZOOM.pm blib/lib/Net/Z3950/ZOOM.pm cp lib/ZOOM.pm blib/lib/ZOOM.pm cp lib/ZOOM.pod blib/lib/ZOOM.pod cp lib/Net/Z3950.pm blib/lib/Net/Z3950.pm /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap ZOOM.xs > ZOOM.xsc && mv ZOOM.xsc ZOOM.c gcc -c -DYAZ_POSIX_THREADS=1 -DYAZ_HAVE_XML2=1 -DYAZ_HAVE_XSLT=1 -DYAZ_HAVE_EXSLT=1 -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.28\" -DXS_VERSION=\"1.28\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" ZOOM.c ZOOM.xs: In function ‘XS_Net__Z3950__ZOOM_record_get_string’: ZOOM.xs:327: warning: ISO C90 forbids mixed declarations and code ZOOM.xs: In function ‘XS_Net__Z3950__ZOOM_options_set_callback’: ZOOM.xs:467: warning: statement with no effect ZOOM.xs:468: warning: statement with no effect Running Mkbootstrap for Net::Z3950::ZOOM () chmod 644 ZOOM.bs rm -f blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic ZOOM.o -o blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so \ -lyaz -lexslt -lxslt -lgcrypt -lgpg-error -lxml2 -lz -lm -lpthread \ chmod 755 blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so cp ZOOM.bs blib/arch/auto/Net/Z3950/ZOOM/ZOOM.bs chmod 644 blib/arch/auto/Net/Z3950/ZOOM/ZOOM.bs cp samples/zoom/zoomdump blib/script/zoomdump /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/zoomdump cp samples/zoom/zselect blib/script/zselect /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/zselect Manifying blib/man3/Net::Z3950::ZOOM.3pm Manifying blib/man3/ZOOM.3pm [mike@centos5 Net-Z3950-ZOOM-1.28]$ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1-Net-Z3950-ZOOM......ok t/10-options............ok t/11-option-callback....ok t/12-query..............ok t/13-resultset..........ok t/14-sorting............ok t/15-scan...............ok t/16-packages...........ok t/17-logging............ok t/18-charset............ok t/19-events.............ok t/2-ZOOM................ok t/20-options............ok t/21-option-callback....ok t/22-query..............ok t/23-resultset..........ok t/24-sorting............ok t/25-scan...............ok t/26-packages...........ok t/27-logging............ok t/28-charset............ok t/29-events.............ok All tests successful. Files=22, Tests=700, 13 wallclock secs ( 0.63 cusr + 0.24 csys = 0.87 CPU) [mike@centos5 Net-Z3950-ZOOM-1.28]$
From: lingzhai@hotmail.com
Hi Mike, thanks alot. I figured out that I didn't install YAZ properly and I also got the following help from Koha forum. (See attachment) after installing centos yum install libicu-dev required for yaz after 3rd step is upgrade libxmal and libxslt 4th step is install yaz and zebra On Mon May 23 09:23:19 2011, mike@indexdata.com wrote:
Show quoted text
> Sorry for the slow response. > > I have just tried to build ZOOM 1.28 on our own Centos box -- it's > running Centos 5.6, and has YAZ 4.20 and Perl 5.8.8. The Perl is the > same as yours; the operating system and YAZ are slightly newer, but > not by enough that it should make any difference. > > I build and tested with no problems (full transcript below). This, > together with your log, suggests to me that your YAZ installation may > be at fault. Can you run the command-line yaz-client? > > -- Mike. > > > > On 14 May 2011 09:46, Ling Zhai via RT <bug-Net-Z3950- > ZOOM@rt.cpan.org> wrote:
> > Sat May 14 04:46:22 2011: Request 68190 was acted upon. > > Transaction: Ticket created by lingzhai > >       Queue: Net-Z3950-ZOOM > >     Subject: (No subject given) > >   Broken in: 1.28 > >    Severity: (no value) > >       Owner: Nobody > >  Requestors: lingzhai@hotmail.com > >      Status: new > >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68190 > > > > > > > Hi, > > > >  I am trying to install Koha 3.04.00, and ZOOM 1.28 doesn't seem to > > load with YAZ 4.1.7. I am using Perl 5.8.8 on Centos 5.5 (64 bit). > > > >  Any suggestion would be greatly helpuful. > > > > Thanks a lot, > > Ling > > > > [root@ koha-3.04.00.000]# perl Makefile.PL > > Can't load > > '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-
> multi/auto/Net/Z3950/ZOOM/ZOOM.so'
> > for module Net::Z3950::ZOOM: libyaz.so.4: cannot open shared object > > file: No such file or directory at > > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/XSLoader.pm line
> 70.
> >  at > > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-
> multi/Net/Z3950/ZOOM.pm
> > line 10 > > Compilation failed in require at > > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/ZOOM.pm
> line 4.
> > BEGIN failed--compilation aborted at > > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/ZOOM.pm
> line 4.
> > Compilation failed in require at > > /root/Downloads/koha-3.04.00.000/C4/Context.pm line 85. > > BEGIN failed--compilation aborted at > > /root/Downloads/koha-3.04.00.000/C4/Context.pm line 85. > > Compilation failed in require at > > /root/Downloads/koha-3.04.00.000/C4/Installer.pm line 24. > > BEGIN failed--compilation aborted at > > /root/Downloads/koha-3.04.00.000/C4/Installer.pm line 24. > > Compilation failed in require at Makefile.PL line 31. > > BEGIN failed--compilation aborted at Makefile.PL line 31. > > > > > >
> > > My successful transcript: > > [mike@centos5 ~]$ wget > http://search.cpan.org/CPAN/authors/id/M/MI/MIRK/Net-Z3950-ZOOM- > 1.28.tar.gz > --2011-05-23 13:19:19-- > http://search.cpan.org/CPAN/authors/id/M/MI/MIRK/Net-Z3950-ZOOM- > 1.28.tar.gz > Resolving search.cpan.org... 199.15.176.161, 207.115.101.144 > Connecting to search.cpan.org|199.15.176.161|:80... connected. > HTTP request sent, awaiting response... 302 Found > Location: http://mirror.uni-c.dk/pub/CPAN/authors/id/M/MI/MIRK/Net- > Z3950-ZOOM-1.28.tar.gz > [following] > --2011-05-23 13:19:20-- > http://mirror.uni-c.dk/pub/CPAN/authors/id/M/MI/MIRK/Net-Z3950-ZOOM- > 1.28.tar.gz > Resolving mirror.uni-c.dk... 130.226.1.35, 2001:878:0:100::1:35 > Connecting to mirror.uni-c.dk|130.226.1.35|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 66800 (65K) [application/x-gzip] > Saving to: `Net-Z3950-ZOOM-1.28.tar.gz' > > 100%[======================================>] 66.800 --.-K/s in > 0,02s > > 2011-05-23 13:19:20 (3,46 MB/s) - `Net-Z3950-ZOOM-1.28.tar.gz' saved > [66800/66800] > > [mike@centos5 ~]$ tar xzf Net-Z3950-ZOOM-1.28.tar.gz > [mike@centos5 ~]$ cd Net-Z3950-ZOOM-1.28 > [mike@centos5 Net-Z3950-ZOOM-1.28]$ perl Makefile.PL > Checking if your kit is complete... > Looks good > Writing Makefile for Net::Z3950::ZOOM > [mike@centos5 Net-Z3950-ZOOM-1.28]$ make > cp lib/Net/Z3950/ZOOM.pm blib/lib/Net/Z3950/ZOOM.pm > cp lib/ZOOM.pm blib/lib/ZOOM.pm > cp lib/ZOOM.pod blib/lib/ZOOM.pod > cp lib/Net/Z3950.pm blib/lib/Net/Z3950.pm > /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap > /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap ZOOM.xs > > ZOOM.xsc && mv ZOOM.xsc ZOOM.c > gcc -c -DYAZ_POSIX_THREADS=1 -DYAZ_HAVE_XML2=1 -DYAZ_HAVE_XSLT=1 > -DYAZ_HAVE_EXSLT=1 -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE > -fno-strict-aliasing -pipe -Wdeclaration-after-statement > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 > -mtune=generic -DVERSION=\"1.28\" -DXS_VERSION=\"1.28\" -fPIC > "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" ZOOM.c > ZOOM.xs: In function ‘XS_Net__Z3950__ZOOM_record_get_string’: > ZOOM.xs:327: warning: ISO C90 forbids mixed declarations and code > ZOOM.xs: In function ‘XS_Net__Z3950__ZOOM_options_set_callback’: > ZOOM.xs:467: warning: statement with no effect > ZOOM.xs:468: warning: statement with no effect > Running Mkbootstrap for Net::Z3950::ZOOM () > chmod 644 ZOOM.bs > rm -f blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so > gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic ZOOM.o > -o blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so \ > -lyaz -lexslt -lxslt -lgcrypt -lgpg-error -lxml2 -lz -lm -lpthread > \ > > chmod 755 blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so > cp ZOOM.bs blib/arch/auto/Net/Z3950/ZOOM/ZOOM.bs > chmod 644 blib/arch/auto/Net/Z3950/ZOOM/ZOOM.bs > cp samples/zoom/zoomdump blib/script/zoomdump > /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" > blib/script/zoomdump > cp samples/zoom/zselect blib/script/zselect > /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" > blib/script/zselect > Manifying blib/man3/Net::Z3950::ZOOM.3pm > Manifying blib/man3/ZOOM.3pm > [mike@centos5 Net-Z3950-ZOOM-1.28]$ make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/1-Net-Z3950-ZOOM......ok > t/10-options............ok > t/11-option-callback....ok > t/12-query..............ok > t/13-resultset..........ok > t/14-sorting............ok > t/15-scan...............ok > t/16-packages...........ok > t/17-logging............ok > t/18-charset............ok > t/19-events.............ok > t/2-ZOOM................ok > t/20-options............ok > t/21-option-callback....ok > t/22-query..............ok > t/23-resultset..........ok > t/24-sorting............ok > t/25-scan...............ok > t/26-packages...........ok > t/27-logging............ok > t/28-charset............ok > t/29-events.............ok > All tests successful. > Files=22, Tests=700, 13 wallclock secs ( 0.63 cusr + 0.24 csys = > 0.87 CPU) > [mike@centos5 Net-Z3950-ZOOM-1.28]$
Subject: yaz-zebra.pdf

Message body not shown because it is not plain text.

From: lingzhai@hotmail.com
Bug resolved. Please close.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.