Re: [protobuf] I have a program use protobuf, and I wan't use this program in a machine which hasn't install protobuf, how can I do this?

2011-01-19 Thread Jason Hsueh
Add -static to your ld command to link the program statically. On Wed, Jan 19, 2011 at 12:38 AM, triStone wrote: > When I use this program in another computer, it reminder me that " > error while loading shared libraries: libprotobuf.so.6: cannot open > shared object file: No such file or direct

[protobuf] I have a program use protobuf, and I wan't use this program in a machine which hasn't install protobuf, how can I do this?

2011-01-19 Thread triStone
When I use this program in another computer, it reminder me that " error while loading shared libraries: libprotobuf.so.6: cannot open shared object file: No such file or directory". How can I use this program in a computer without libprotobuf.so.6? Should I change the compile script? In my makefil