[Koha] Install problems

M. McCarty atatton1 at yahoo.com
Sat May 5 06:18:41 NZST 2007


I'm installing Koha 2.2.7 on Debian (2.4.27 Sarge) using the installation doc on the Wiki.  A couple of problems have cropped up.

1. The following error when running: .cpan/build/Net-Z3950-0.51# make

/usr/bin/ld: cannot find -lgcrypt
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Net/Z3950/Z3950.so] Error 1
st285:~/.cpan/build/Net-Z3950-0.51# make install
make[1]: Entering directory `/root/.cpan/build/Net-Z3950-0.51/yazwrap'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/.cpan/build/Net-Z3950-0.51/yazwrap'
rm -f blib/arch/auto/Net/Z3950/Z3950.so
cc  -shared -L/usr/local/lib Z3950.o  -o blib/arch/auto/Net/Z3950/Z3950.so yazwrap/libyazwrap.a \
           -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/Z3950.so] Error 1

2. Errors when installing Zoom:
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.18\" -DXS_VERSION=\"1.18\" -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

3. When I did run the install script it reported that that the following perl scripts hadn't been run. I expected the ZOOM message but when I try to install GD::Barcode it reports that it's already installed.  Also, I don't run LDAP for authentication so how do I install without it?

export LC_ALL=C

perl -MCPAN -e 'install "ZOOM"'

perl -MCPAN -e 'install "You will need GD::Barcode for the new barcode

perl -MCPAN -e 'install "You will need Net::LDAP if you want to authentify
patrons through a LDAP"'

Thanks in advance.


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the Koha mailing list