Hmm, now I'm confused.  They imply that libprotobuf should be linked with
both -pthread *and* -lpthread, as the latter registers libpthread as some
sort of auto-loaded dependency, I guess.  The internet does not provide very
much useful info on what the real best practice is.

On Wed, Sep 9, 2009 at 3:40 PM, Kevin Deldycke <> wrote:

> On Wed, Aug 19, 2009 at 20:35, Kenton Varda<> wrote:
> > Well, I haven't observed this problem on other platforms or distros.
>  What
> > happens if you write a very basic program that uses pthread_once, then
> try
> > to compile it with -pthread (but not -lpthread)?  If this doesn't work, I
> > suspect something is wrong with the way GCC was built for your
> distribution.
> FYI, I've just reported the issue in Mandriva's bug tracker:
> --
> Kevin Deldycke
>  • blog:
>  • band:
> >

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to