Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2004-12-05 17:35:16


On Sat, 4 Dec 2004 16:59:15 +0000, Oliver Kullmann wrote
> Hello,

> I would like to report 3 issues with the
> program_options library, 2 of which seem
> critical to me:

I'll respond to the 3rd issue...

>... snip 1st 2 issues...
>
> 3) I'm using g++ version 3.4.3, and I compiled Boost with this
> compiler, but to whatever library from Boost I link, I get warning
> messages like the above; another example
>
> > g++ calender.o -lboost_date_time-gcc
> /usr/bin/ld: warning: libstdc++.so.5, needed by
> /usr/local/lib/gcc/i686-pc-linux-
> gnu/3.4.3/../../../libboost_date_time-gcc.so, may conflict with libstdc++.so.6

Looks to me that there is a mismatch in the environment -- you are compiling
boost with one version of libstdc++ and then linking against another.

> What's the problem here?! (Linking in general seems in Boost not so
> easy, and thus it would be good to have a bit more documentation on
> this. For example in program_options I couldn't find any hint how to
> compile it.)
>
> Hope someone can shed light on these issues (as I said, for all what
> I can see, there seems to be a serious problem with program_options).

Have you read this?

http://www.boost.org/more/getting_started.html#Build_Install

Jeff


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk