Yes, linking against pthreads is required. Technically it always was, but on certain platforms (e.g. Linux), it just happened that the set of pthread functions used by libprotobuf were all implemented in libc itself, so if you forgot to use -lpthead it worked anyway. I suppose that should be in the readme.
On Thu, May 14, 2009 at 10:25 AM, daveb <lahike...@gmail.com> wrote: > > Just got a complaint from a user saying that they needed to add - > lpthread to link against protoc. > I hadn't heard of the pthread change by the way -- was that expected? > > It might be nice if there was a pkg-config file for protoc so that - > lpthread can be sucked up exactly when needed. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---