I came across the same problem. From what I gathered searching the internet is that libz.a is somehow not recognized as a shared library. The workaround I used is to simply remove libz from that path, although you'll probably won't be able to use the compression api.
-- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/groups/opt_out.