Re: [greenstone-devel] Link errors for library CGI program on Solaris

From John R. McPherson
DateSat, 1 Jul 2006 14:44:37 +1200
Subject Re: [greenstone-devel] Link errors for library CGI program on Solaris
In-Reply-To (49526-192-245-136-76-1151701067-squirrel-mail-wrlc-org)
On Fri, Jun 30, 2006 at 04:57:47PM -0400, Don Gourley wrote:
> Sorry to bother you all...I figured this one out on my own.
> I had to add -lstdc++ to the LIBS in every Makefile under
> src. Seems odd that gcc doesn't automatically include its
> own standard library.

If you look closely, the link command was using "gcc" instead of
"g++". I imagine g++ would automatically link against libstdc++.
I'm not sure if that's a bug in the automatically generated
configure script, or your environment setup.

John