protobuf安装后出现libprotobuf.so.6 not found after installation_JAVA_编程开发_程序员俱乐部

中国优秀的程序员网站程序员频道CXYCLUB技术地图
热搜:
更多>>
 
您所在的位置: 程序员俱乐部 > 编程开发 > JAVA > protobuf安装后出现libprotobuf.so.6 not found after installation

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

 2011/11/8 7:52:46  yuu1987  http://yuu1987.iteye.com  我要评论(0)
  • 摘要:PleasefollowtheinstructionsinREADME.txt:**Hintoninstalllocation**Bydefault,thepackagewillbeinstalledto/usr/local.However,onmanyplatforms,/usr/local/libisnotpartofLD_LIBRARY_PATH.Youcanaddit,butitmaybeeasiertojustinstallto/usrinstead.Todothis
  • 标签:安装 all not
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
发表评论
用户名: 匿名