According to Venkata Banda:
> We are getting a linker error while running htsearch binary (version 3.1.6).
> The error is as : 
> ld.so.1: ./htsearch: fatal: libz.so: open failed: No such file or directory
> 
> We had set LD_RUN_PATH before compilation, but still the linker is not able
> to trace the shared object. It works when the LD_LIBRARY_PATH is set but we
> want the path to be integrated into the executable during compilation.
> 
> Also, we are facing a problem while executing the binary (cgi) through the
> browser. We are getting "Internal Server Error".

Well, the internal server error is to be expected if htsearch can't
find its libraries.  See http://www.htdig.org/FAQ.html#q5.7

I'd guess that either LD_RUN_PATH wasn't set correctly when ld was
building the binaries, it wasn't exported, or your ld doesn't support
this environment variable.  On what platform are you building ht://Dig
(OS, version, distribution if applicable)?  You can also try adding
appropriate -R options to LIBDIRS in Makefile.config, if your ld
command supports -R to specify runtime library locations.

I think this whole aspect of the FAQ could use a bit of a rewrite,
as I'm not sure the specific answers it gives now for dealing with
Internal Server errors and libraries are generally applicable to all
platforms where such problems arise.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to