[Net-z3950] Installing Net::Z3950

Don Robertson don at robertson.net.nz
Wed Mar 2 07:04:40 CET 2005

Hi - I am truying to install Net::Z3950 on a Fedora Core 2 Machine but
am having a few problems.

I enter perl -MCPAN -e 'install Net::Z3950' and after a bit I get the

/usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.3/ExtUtils/typemap -typemap typemap  Z3950.xs > Z3950.xsc && mv Z3950.xsc Z3950.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686   -DVERSION=\"0.47\" -DXS_VERSION=\"0.47\" -fPIC "-I/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE"   Z3950.c
Running Mkbootstrap for Net::Z3950 ()
chmod 644 Z3950.bs
rm -f blib/arch/auto/Net/Z3950/Z3950.so
gcc  -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 -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lwrap -lnsl
/usr/bin/ld: cannot find -lcom_err
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

Any help would be greatly appreciated
Don Robertson
Systems Administrator
Hun Sen Library
Royal University of Phnom Penh
don at robertson.net.nz

More information about the Net-z3950 mailing list