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
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