delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/06/14/19:13:12

From: yangsu AT cs DOT iastate DOT edu (yang su)
Subject: Re: cygwinb19.dll could not be found error
14 Jun 1998 19:13:12 -0700 :
Message-ID: <199806141847.NAA00978.cygnus.gnu-win32@popeye.cs.iastate.edu>
References: <Pine DOT GSO DOT 3 DOT 96 DOT 980614122739 DOT 7402A-100000 AT dilbert>
To: papilla AT cs DOT tamu DOT edu (Benoit Papillault)
Cc: gnu-win32 AT cygnus DOT com

I use the following test.c as a test and it fails as a cgi call:
(with same error message)
================================================
#include <stdio.h>

main(){
	printf("Content-type: text/html \n\n");
	printf("<html> \n");
	printf("Hello World!");
	printf("</html> \n ");
}
==================================================

Any further suggestions?

yang


> 
> On Sat, 13 Jun 1998, yang su wrote:
> > I have a regular c program served as a cgi, I compile it
> > like  this:
> > gcc test.c -o test.cgi
> > and this test.cgi runs ok on console , but when it runs as
> > a cgi, the error "cygwinb19.dll not found in the path
> > ---a list of path--- " appears.
> > what's wrong with that? How do I compile it so that it will work
> > as a cgi?
> 
> I don't think that the problem comes from GNUWin32. I think you have to
> investigate what are the difference when you run your program on a console
> and when you run it as a CGI. I mean: check environnement variable,
> program argument and so on. 
> 
> Benoit.
> 
> 

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019