On 26.05.2009 12:08, jacobsmbox-goog...@yahoo.de wrote:
> Thanks a lot!
>
> It worked well after i figured how to add it to the configure script
> of my PHP extension project:
> ./configure ... EXTRA_LDFLAGS='-lprotobuf'
You can use my config.m4 as an example:
http://github.com/tony2001/pinba_ex
You should be able to add macros to your configure.ac/configure.in file so
that it does this automatically. Check the autoconf docs. Note that you
may also have to compile with -lpthread on some platforms, so you might as
well add that on all platforms if you haven't already.
On Tue, May 26, 200
Thanks a lot!
It worked well after i figured how to add it to the configure script
of my PHP extension project:
./configure ... EXTRA_LDFLAGS='-lprotobuf'
On 25 Mai, 21:50, Kenton Varda wrote:
> You need to link against libprotobuf by adding -lprotobuf to your linker
> command-line.
--~--~-
gt; Unable to load dynamic library ...
> undefined symbol: _ZN6google8protobuf7Message20DiscardUnknownFieldsEv
>
> Why? What's it mean? Is a file missing?
> I don't have "DiscardUnknownFieldsEv" in my code...
> Please give me a hint!
>
> I already made extensive u
Hi,
After successfully compiling my lib using a generated protocol buffer
class, i am receiving this awful error when i try to load it:
Unable to load dynamic library ...
undefined symbol: _ZN6google8protobuf7Message20DiscardUnknownFieldsEv
Why? What's it mean? Is a file missing?
I don