[Top][All Lists]

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

Re: [help-cgicc] Static and dynamic link

From: cgifalco
Subject: Re: [help-cgicc] Static and dynamic link
Date: Sat, 04 Dec 2004 19:30:50 +0100
User-agent: Mozilla Thunderbird 0.9 (X11/20041113)

Stephen F. Booth napsal(a):

It sounds like the library isn't being found at link time. That seems strange, though, since it appears to be installed in /usr/lib. Did you run ldconfig after installing the library?


On Thursday 25 November 2004 12:33, cgifalco wrote:
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] Premature end of
script headers: test.cgi, referer: http://localhost/cgitests/cgitest.html
Thank you for a help

help-cgicc mailing list
Yes, I did so. The strange is that on Fedora Core 2 I haven't any problems. On Fedora Core 3 I have installed SELinux. I tried to run system-config-securitylevel as a root and disabled SELinux protection for httpd deamon and it didn't help too.


reply via email to

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