[Koha] PERL Module installation problem
Michael Sauers
msauers at nlc.state.ne.us
Thu Jun 19 17:44:48 UTC 2008
Hello everyone. I'm working on installing Koha for the first time and
I've run into a problem. I've got Debian installed and in following the
instructions at
http://www.kohadocs.org/Installing_Koha_on_Debian_sarge.html I've got a
problem in step 3.1.6. When typing in the command:
Perl -MCPAN -e 'install "Net::Z3950::ZOOM"'
A whole bunch happens then it stops with the following:
/usr/bin/ld: cannot find -lgcrypt
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
I'm a Linux newbie with a bit of experience but at this point I'm stuck.
I've attached the full transcript of what's happened. I'm hoping there's
a simple solution. Thanks for any help you can provide.
---------------------------------------------------------------
Michael Sauers, Technology Innovation Librarian
Nebraska Library Commission
The Atrium, 1200 N Street, Suite 120
Lincoln, NE 68508-2023
402-471-2045
800-307-2665 (NE only)
Fax: 402-471-2083
msauers at nlc.state.ne.us <mailto:msauers at nlc.state.ne.us>
http://nlc.state.ne.us/ <http://nlc.state.ne.us/>
http://www.travelinlibrarian.info/ <http://www.travelinlibrarian.info/>
---------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.katipo.co.nz/pipermail/koha/attachments/20080619/66fc6d8c/attachment.htm>
-------------- next part --------------
debian1:/home/msauers/marc-xml# perl -MCPAN -e 'install "Net::Z3950::ZOOM"'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Thu, 19 Jun 2008 14:03:20 GMT
Running install for module Net::Z3950::ZOOM
Running make for M/MI/MIRK/Net-Z3950-ZOOM-1.24.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/M/MI/MIRK/Net-Z3950-ZOOM-1.24.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Net-Z3950-ZOOM-1.24/
Net-Z3950-ZOOM-1.24/samples/
Net-Z3950-ZOOM-1.24/samples/zoom/
Net-Z3950-ZOOM-1.24/samples/zoom/trivial-async.pl
Net-Z3950-ZOOM-1.24/samples/zoom/zdump.pl
Net-Z3950-ZOOM-1.24/samples/zoom/async.pl
Net-Z3950-ZOOM-1.24/samples/zoom/zoomscan.pl
Net-Z3950-ZOOM-1.24/samples/zoom/zhello.pl
Net-Z3950-ZOOM-1.24/samples/zoom/zoomtst1.pl
Net-Z3950-ZOOM-1.24/samples/zoom/zselect
Net-Z3950-ZOOM-1.24/samples/zoom/update.pl
Net-Z3950-ZOOM-1.24/samples/zoom/zoomtst3.pl
Net-Z3950-ZOOM-1.24/samples/README
Net-Z3950-ZOOM-1.24/samples/net-z3950/
Net-Z3950-ZOOM-1.24/samples/net-z3950/zoomtst1.pl
Net-Z3950-ZOOM-1.24/samples/records/
Net-Z3950-ZOOM-1.24/samples/records/esdd0006.grs
Net-Z3950-ZOOM-1.24/samples/ccl/
Net-Z3950-ZOOM-1.24/samples/ccl/default.bib
Net-Z3950-ZOOM-1.24/samples/cql/
Net-Z3950-ZOOM-1.24/samples/cql/pqf.properties
Net-Z3950-ZOOM-1.24/samples/net-z3950-zoom/
Net-Z3950-ZOOM-1.24/samples/net-z3950-zoom/async.pl
Net-Z3950-ZOOM-1.24/samples/net-z3950-zoom/zoomtst1.pl
Net-Z3950-ZOOM-1.24/samples/net-z3950-zoom/zoomtst3.pl
Net-Z3950-ZOOM-1.24/README
Net-Z3950-ZOOM-1.24/Changes
Net-Z3950-ZOOM-1.24/META.yml
Net-Z3950-ZOOM-1.24/MANIFEST
Net-Z3950-ZOOM-1.24/ZOOM.xs
Net-Z3950-ZOOM-1.24/MANIFEST.SKIP
Net-Z3950-ZOOM-1.24/Makefile.PL
Net-Z3950-ZOOM-1.24/t/
Net-Z3950-ZOOM-1.24/t/29-events.t
Net-Z3950-ZOOM-1.24/t/11-option-callback.t
Net-Z3950-ZOOM-1.24/t/15-scan.t
Net-Z3950-ZOOM-1.24/t/16-packages.t
Net-Z3950-ZOOM-1.24/t/13-resultset.t
Net-Z3950-ZOOM-1.24/t/24-sorting.t
Net-Z3950-ZOOM-1.24/t/17-logging.t
Net-Z3950-ZOOM-1.24/t/20-options.t
Net-Z3950-ZOOM-1.24/t/12-query.t
Net-Z3950-ZOOM-1.24/t/10-options.t
Net-Z3950-ZOOM-1.24/t/1-Net-Z3950-ZOOM.t
Net-Z3950-ZOOM-1.24/t/22-query.t
Net-Z3950-ZOOM-1.24/t/27-logging.t
Net-Z3950-ZOOM-1.24/t/25-scan.t
Net-Z3950-ZOOM-1.24/t/19-events.t
Net-Z3950-ZOOM-1.24/t/14-sorting.t
Net-Z3950-ZOOM-1.24/t/28-charset.t
Net-Z3950-ZOOM-1.24/t/23-resultset.t
Net-Z3950-ZOOM-1.24/t/26-packages.t
Net-Z3950-ZOOM-1.24/t/18-charset.t
Net-Z3950-ZOOM-1.24/t/2-ZOOM.t
Net-Z3950-ZOOM-1.24/t/21-option-callback.t
Net-Z3950-ZOOM-1.24/typemap
Net-Z3950-ZOOM-1.24/lib/
Net-Z3950-ZOOM-1.24/lib/ZOOM.pm
Net-Z3950-ZOOM-1.24/lib/ZOOM.pod
Net-Z3950-ZOOM-1.24/lib/Net/
Net-Z3950-ZOOM-1.24/lib/Net/Z3950/
Net-Z3950-ZOOM-1.24/lib/Net/Z3950/ZOOM.pm
Net-Z3950-ZOOM-1.24/lib/Net/Z3950.pm
Removing previously used /root/.cpan/build/Net-Z3950-ZOOM-1.24
CPAN.pm: Going to build M/MI/MIRK/Net-Z3950-ZOOM-1.24.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Net::Z3950::ZOOM
cp lib/Net/Z3950/ZOOM.pm blib/lib/Net/Z3950/ZOOM.pm
cp lib/ZOOM.pod blib/lib/ZOOM.pod
cp lib/ZOOM.pm blib/lib/ZOOM.pm
cp lib/Net/Z3950.pm blib/lib/Net/Z3950.pm
/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ExtUtils/typemap -typemap typemap ZOOM.xs > ZOOM.xsc && mv ZOOM.xsc ZOOM.c
cc -c -pthread -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 -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.24\" -DXS_VERSION=\"1.24\" -fPIC "-I/usr/lib/perl/5.8/CORE" ZOOM.c
Running Mkbootstrap for Net::Z3950::ZOOM ()
chmod 644 ZOOM.bs
rm -f blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so
cc -shared -L/usr/local/lib ZOOM.o -o blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so \ -lyaz -lexslt -lxslt -lgcrypt -lgpg-error -lxml2 -lpthread -lz -lm -lpthread -lssl -lcrypto -ldl -lwrap -lnsl \
/usr/bin/ld: cannot find -lgcrypt
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
More information about the Koha
mailing list