[Net-z3950] Net::Z3950 on Ubuntu

M. Hornung mike at boobaz.net
Mon Nov 14 16:24:03 CET 2005

If you decide you do want to link with those libraries, libwrap comes with 
"TCP Wrapper".



On Mon, 14 Nov 2005 at 13:51, fnord, Mike Taylor wrote:

|> Date: Mon, 14 Nov 2005 05:17:57 -0600
|> From: Matthew Metzger <matthew.metzger at cono.org>
|> <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
|> any help in getting this perl module installed would be greatly 
|> appreciated. I have installed the yaz packages.
|Hi, Matthew.  I'm afraid I can't help much with this.  Obviously,
|Perl's configuration has decided that it needs the "wrap" library as
|well as YAZ, the maths library, etc.; but I know neither why it should
|think that, what that library is, or where it should be found.  (In
|fact, your build environment wants FIVE libraries that my Red Hat 9
|box doesn't: -lpthread -lssl -lcrypto -lwrap -lnsl)
|There are two hacks you could try.  One is to manually find the "wrap"
|library and to set the LD_RUN_PATH or LD_LIBRARY_PATH environment
|variable to the name ofg the directory that contains it.  The library
|file will probably be called something like "libwrap.a" or
|"libwrap.so" on a Unix-like system; if you're using Windows, you're on
|your own.
|The other thing you might try is just running the link line with the
|mention of "-lwrap" removed.  I doubt that will work, but you never
| _/|_	 ___________________________________________________________________
|/o ) \/  Mike Taylor  <mike at miketaylor.org.uk>  http://www.miketaylor.org.uk
|)_v__/\  "You cannot really appreciate Dilbert unless you've read it in
|	 the original Klingon." -- Klingon Programming Mantra
|Net-z3950 mailing list
|Net-z3950 at indexdata.dk

More information about the Net-z3950 mailing list