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

From Don Gourley
DateFri, 30 Jun 2006 16:57:47 -0400 (EDT)
Subject Re: [greenstone-devel] Link errors for library CGI program on Solaris
In-Reply-To (49232-192-245-136-76-1151686956-squirrel-mail-wrlc-org)
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.

Please stay tuned in case I run into more problems ...

-Don

On Fri, June 30, 2006 1:02 pm, Don Gourley wrote:
> I'm trying to build Greenstone 2.70w on Solaris 9 (SunOS 5.9).
> I've gotten to the final linker step to build the 'library'
> program (see below) and am getting a bunch of undefined symbols.
> I'm guessing that it is not finding some libraries that it needs
> or is not getting the right version of some libraries.
>
> I was wondering if someone familiar with C++ code could look at
> the symbols and identify what library or libraries they are
> from. It looks to me like they are all I/O related.
>
> Alternatively, if someone has succesfully created the 2.70w
> library program on Solaris 9 and would share it with me, that
> would be great.
>
> thanks,
> -Don Gourley
> Washington Research Library Consortium