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