~/local/hadoop-2.2.0-src$ mvn clean install -DskipTests


protoc 에러 발생시


sudo -

apt-get update

apt-get install gcc++


wget https://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz

tar xvfz protobuf-2.5.0.tar.gz

cd protobuf-2.5.0/


root@3161d83f-0558-4aee-9614-09024d130652:~/local/protobuf-2.5.0# protoc --version

protoc: error while loading shared libraries: libprotoc.so.8: cannot open shared object file: No such file or directory

root@3161d83f-0558-4aee-9614-09024d130652:~/local/protobuf-2.5.0# ldconfig

root@3161d83f-0558-4aee-9614-09024d130652:~/local/protobuf-2.5.0# protoc --version

libprotoc 2.5.0

related: http://jugnu-life.blogspot.com/2013/09/install-protobuf-25-on-ubuntu.html



+ Recent posts