[Net-z3950] Net::Z3950 on Ubuntu

Matthew Metzger matthew.metzger at cono.org
Mon Nov 14 12:17:57 CET 2005


I have successfully installed Koha, a library automation system, on 
Ubuntu 5.10 (breezy). Everything works great except I can't get one very 
important perl module to install. I run the command

#sudo perl -MCPAN -e 'install "Net::Z3950"'

and everything seems to run fine, until this point.

<terminal output>
Running Mkbootstrap for Net::Z3950 ()
chmod 644 Z3950.bs
rm -f blib/arch/auto/Net/Z3950/Z3950.so
LD_RUN_PATH="" cc -shared -L/usr/local/lib Z3950.o -o 
blib/arch/auto/Net/Z3950/Z3950.so yazwrap/libyazwrap.a -lyaz -L/usr/lib 
-lxml2 -lz -lpthread -lm -lssl -lcrypto -lwrap -lnsl
/usr/bin/ld: cannot find -lwrap
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Net/Z3950/Z3950.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
</terminal output>

any help in getting this perl module installed would be greatly 
appreciated. I have installed the yaz packages.

More information about the Net-z3950 mailing list