colorful

zc qq:1337220912

 

protobuf安装后出现libprotobuf.so.6 not found after installation

Please follow the instructions in README.txt:

** Hint on install location **

  By default, the package will be installed to /usr/local.  However,
  on many platforms, /usr/local/lib is not part of LD_LIBRARY_PATH.
  You can add it, but it may be easier to just install to /usr
  instead.  To do this, invoke configure as follows:

    ./configure --prefix=/usr

  If you already built the package with a different prefix, make sure
  to run "make clean" before building again.

** 翻译 translate **

  默认情况下,包会被安装在/usr/local路径下。但是,在某些系统平台上(如Ubuntu 11),/usr/local/lib路径并不包含在LD_LIBRARY_PATH中。你可以手动添加,但也可以很方便的通过安装到/usr路径下,调 用configure命令参数如下

    ./configure --prefix=/usr

  如果你的包已经编译过,确保先运行"make clean"再重新编译。

reference:http://code.google.com/p/protobuf/issues/detail?id=213

posted on 2012-05-05 14:41 多彩人生 阅读(1569) 评论(0)  编辑 收藏 引用 所属分类: protobuf


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理


导航

统计

常用链接

留言簿(3)

随笔分类

随笔档案

搜索

最新评论

阅读排行榜

评论排行榜