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 makefile, I use this

INCS :=  /usr/local/include
LIBS := -pthread -L/usr/local/lib -lprotobuf -lprotoc -lz
....
${OUTPUT}: ${OBJS}
    ${LD} -o $@ ${LDFLAGS} ${OBJS} ${LIBS}

%.o : %.cpp
    ${CXX} -c ${CXXFLAGS} ${INCS} $< -o $@

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to