Unable to load native-hadoop library for your platform solution
Install Maven
1 cmake-2.8.12.1.tar.gz
CD cmake-2.8.12.1
./Bootstrap
Make
Sudo make install
2 install ant
Export ant_home =/usr/local/Apache-ant-1.9.3
Export Path = $ java_home/bin: $ ant_home/bin: $ path
Source/etc/profile
Check ant-version
3 findbugs-2.0.2-source.zip
Wget http://prdownloads.sourceforge.net/findbugs/findbugs-2.0.3.tar.gz? Download
Tar zxvf findbugs-2.0.3.tar.gz-C/usr/local/
MV/usr/local/findbugs-2.0.3 // usr/local/findbugs
VI/etc/profile
Export findbugs_home =/usr/local/findbugs
4 protobuf
Wget http://protobuf.googlecode.com/files/protobuf-2.4.1.tar.gz
Root User
./Configure & make install
Protoc -- version
Export protoc_home =/home/hadoop/soft/protobuf-2.5.0
Export Path = $ path: $ protoc_home/src
5 CD $ hadoop_home/src
MVN package-dskiptests-pdist, native-dtar> install2.log
Error 1
JDK version error reported in the middle
Download JDK jdk-6u27-linux-x64.bin.
Chmod U + x jdk-6u27-linux-x64.bin
/Jdk-6u27-linux-x64.bin
Error 2
Cmake error at/usr/local/share/cmake-2.8/modules/findpackagehandlestandardargs. cmake: 108 (Message ):
[Exec] cocould not find zlib (Miss -- checking ing incomplete, errors occurred!
Install zlib
$ Tar-xvzf zlib-1.2.3.tar.gz
$ Zlib-1.2.3.tar.gz CD
$./Configure
$ Make
$ Sudo make install
Or sudo apt-Get install zlib1g-dev.
Error 3
Cocould not find OpenSSL, try to set the path to OpenSSL root folder in
[Exec] system variable openssl_root_dir (missing: openssl_libraries
Ubuntu:
Sudo apt-Get install OpenSSL
Sudo apt-Get install libssl-Dev.
Centos:
Yum install OpenSSL
Yum install OpenSSL-devel
There should be no other problems,