Hi, 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 generator"' perl -MCPAN -e 'install "You will need Net::LDAP if you want to authentify patrons through a LDAP"' Thanks in advance. Mark __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
"M. McCarty" <atatton1@yahoo.com> wrote:
/usr/bin/ld: cannot find -lgcrypt [twice] [...]
This means you need libgcrypt-dev installed. I think you may be better using yaz and libyaz2-dev packages if possible. If they're not in debian yet, some of the other dependencies may be packaged at http://www-id.imag.fr/Laboratoire/Membres/Danjean_Vincent/deb.html Hope that helps, -- MJ Ray - see/vidu http://mjr.towers.org.uk/email.html Experienced webmaster-developers for hire http://www.ttllp.co.uk/ Also: statistician, sysadmin, online shop builder, workers co-op. Writing on koha, debian, sat TV, Kewstoke http://mjr.towers.org.uk/
participants (2)
-
M. McCarty -
MJ Ray