Re: Static and dynamic link

"Stephen F. Booth" <[email protected]> Sat, 4 Dec 2004 01:09:34 -0500
Newsgroups gmane.comp.gcc.cgicc.general
Message-ID <[email protected]>
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?

Stephen

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 127.0.0.1] Premature end of
> script headers: test.cgi, referer: http://localhost/cgitests/cgitest.html
> Thank you for a help
>   cgifalco
>
>
>
> _______________________________________________
> help-cgicc mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/help-cgicc

_______________________________________________
help-cgicc mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cgicc
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBBsVSegolXBOamItMRAjDpAJ42+DBOe5XeP4+Tfv+VjAAcciI1egCdFG/a
/nt+q7Tkw55vT1SFB511UX4=
=qT3J
-----END PGP SIGNATURE-----