help-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-cgicc] Static and dynamic link


From: cgifalco
Subject: [help-cgicc] Static and dynamic link
Date: Thu, 25 Nov 2004 18:33:49 +0100
User-agent: Mozilla Thunderbird 0.9 (X11/20041113)

Hello cgicc gurus,

I have a problem with dynamic link on my Fedora Core 3. If I compile the program in this way
g++ test.cpp -o test.cgi /usr/lib/libcgicc.a
the script works OK and displayes  the desired page on my httpd server.
But if I compile the program in this way
g++ test.cpp -o test.cgi -lcgicc
the browser isses message


 Internal Server Error

And in the error_log is this message
[Thu Nov 25 17:48:27 2004] [error] [client 127.0.0.1] Premature end of script headers: test.cgi, referer: http://localhost/cgitests/cgitest.html
Thank you for a help
 cgifalco





reply via email to

[Prev in Thread] Current Thread [Next in Thread]