--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to prot...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
I actually spent a while today dealing with the same issue, and
eventually admitted defeat and gave up on trying to convince libtool and
friends to behave.
Instead I did this:
./configure --disable-shared
make
rm src/protoc && make # this is just to make the link command obvious
Then rerun the final invocation of g++ that libtool runs to link protoc,
adding "-static" to it.
(Yes, I know, static binaries are evil, but so is libstdc++ version skew)
-O
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to prot...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
Nope, something along the way eats it.
-O
I had some success removing dynamic dependencies on protoc and making
the binary static using Ermine. Please refer to this wiki -
http://www.coderanch.com/how-to/java/ProtocIndependentBinary
Thanks
- Deepak
On Jul 10 2010, 9:16 pm, Chao Wang <jacky.chao.w...@gmail.com> wrote:
> Will it solve the libz.so.1 linking problem?
>
> Thanks,
> Jacky
>
>
>
>
>
>
>
> On Sat, Jul 10, 2010 at 3:11 AM, Kenton Varda <ken...@google.com> wrote:
> > LDFLAGS=-static isn't good enough?
>
> >> protobuf+u...@googlegroups.com<protobuf%2Bunsu...@googlegroups.com>