7 messages in com.googlegroups.protobufprotoc: error while loading shared li...
FromSent OnAttachments
一首诗Jul 11, 2008 12:15 am 
Alkis Evlogimenos ('Αλκης Ευλογημένος)Jul 11, 2008 12:33 am 
一首诗Jul 11, 2008 12:48 am 
一首诗Jul 11, 2008 12:52 am 
Kenton VardaJul 11, 2008 1:01 am 
一首诗Jul 11, 2008 1:09 am 
lasi...@gmail.comJul 11, 2008 12:29 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:protoc: error while loading shared libraries: libprotobuf.so.0: cannot open shared object file: No such file or directoryActions
From:一首诗 (newp@gmail.com)
Date:Jul 11, 2008 12:15:35 am
List:com.googlegroups.protobuf

After I have installed protoc, I tried this command:

sudo protoc -I=~/test/pb2/src/pb/ --python_out=~/test/pb2/src/python/ addressbook.proto

BUT what I got is:

protoc: error while loading shared libraries: libprotobuf.so.0: cannot open shared object file: No such file or directory

The library is where it should be

libprotobuf.so: /usr/local/lib/libprotobuf.so.0 /usr/local/lib/ libprotobuf.so

What's the problem?