摘要: 今天在执行一个protobuf程序时,提示error while loading shared libraries: libprotobuf.so.8: cannot open shared object file: No such file or directory错误。google了一下,是由于找不到lib这个文件。解决办法:一般我们在Linux下执行某些外部程序的时候可能会提示找不到共享库的错误, 比如:tmux: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file 阅读全文
posted @ 2013-07-24 09:08 Rabbit_Dale 阅读(105141) 评论(1) 推荐(9) 编辑
摘要: 1、protobuf是google公司提出的数据存储格式,详细介绍可以参考:https://code.google.com/p/protobuf/2、下载最新的protobuf,下载地址:https://code.google.com/p/protobuf/downloads/list3、下载protobuf2.5.o版本,protobuf-2.5.0.tar.gz解压并进行安装。解压:tar xvfprotobuf-2.5.0.tar.gz安装步骤:(1)./configure (2)make (3)make check (4)make install注意:安装成功后,将它的bin和lib目 阅读全文
posted @ 2013-07-24 00:57 Rabbit_Dale 阅读(18193) 评论(1) 推荐(0) 编辑