server error file says:
ld.so.1: htsearch: fatal: libstdc++.so.2.8.1: can't open file: errno=2
[Fri Oct 23 12:20:44 1998] [error] [client 129.74.37.19] Premature end of
script headers: /afs/nd.edu/user8/dbarstis/www/cgi-bin/htsearch

Apache start up script includes:
LD_LIBRARY_PATH=/usr/lib:/usr/ucblib:/usr/local/src/gnu/lib
export LD_LIBRARY_PATH

And /usr/local/src/gnu/lib has:
-rw-r--r--   1 224      campus   1938548 Jul  7 16:08 libstdc++.a
-rw-r--r--   1 224      campus   1309612 Aug 16  1996 libstdc++.antic
lrwxr-xr-x   1 224      campus        18 Jul  7 16:08 libstdc++.so ->
libstdc++.so.2.8.1*
-r-xr-xr-x   1 224      campus   1194744 Sep 26  1996 libstdc++.so.2.7.2*
-r-xr-xr-x   1 224      campus   1976904 Jul  7 16:08 libstdc++.so.2.8.1*

Any thoughts?

Dave Barstis
University of Notre Dame

On Thu, 22 Oct 1998, Geoff Hutchison wrote:

> At 12:41 PM -0400 10/22/98, David R. Barstis wrote:
> >I've got htdig-3.1.0b1 installed on a server running Apache 1.3.3/Solaris
> >2.5.1.  The db is created and I can run htsearch as a standalone program
> >with everything working.  The problem occurs when I try using the search
> >form.  I get an Internal Server Error blah, blah, blah Premature end of
> >script headers.
> 
> What does your server error file say? Usually the server log is pretty
> specific about what the "premature end of script headers" means. Often this
> includes some output, either from stderr or stdout.
> 
> >As a standalone, I get prompted to enter a value for words and a format.
> >My question is whats preventing the program from trying to prompt for the
> >values when executed as a cgi?  Is there a config file value I need to
> >enter somewhere?
> 
> In a CGI environment, certain variables are set that won't be set from the
> command line. While I don't know which ones htsearch uses, the variables
> HTTP_* are usualy good ones to examine. :-)
> 
> In short, the CGI will know it's not being called from the command line and
> will not try to prompt for values.
> 
> 
> -Geoff Hutchison
> Williams Students Online
> http://wso.williams.edu/
> 
> 
> ----------------------------------------------------------------------
> To unsubscribe from the htdig mailing list, send a message to
> [EMAIL PROTECTED] containing the single word "unsubscribe" in
> the body of the message.
> 

--
------------------------------------------------------------------------------
Dave Barstis                               E-mail: [EMAIL PROTECTED]
Office of Information Technologies          Voice: (219) 631-8575
University of Notre Dame                      Fax: (219) 631-9283
Notre Dame IN 46556                           URL: http://www.nd.edu/~dbarstis

  I get knocked down, but I get up again.  They're never gonna keep me down!
------------------------------------------------------------------------------

----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.

Reply via email to