Updated Branches: refs/heads/master 30de1c8ee -> 234201d3b
BIGTOP-1010. libsnappy not included in the final hadoop RPM fix: look into wrong folder when including libsnappy.so.1.* Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/234201d3 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/234201d3 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/234201d3 Branch: refs/heads/master Commit: 234201d3b60a7b0eb8ae2dd585ee75d38ddcb6f2 Parents: 30de1c8 Author: Chris Huang <[email protected]> Authored: Thu Jun 13 02:42:06 2013 +0800 Committer: Roman Shaposhnik <[email protected]> Committed: Fri Jun 21 17:01:08 2013 -0700 ---------------------------------------------------------------------- bigtop-packages/src/common/hadoop/install_hadoop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/234201d3/bigtop-packages/src/common/hadoop/install_hadoop.sh ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/common/hadoop/install_hadoop.sh b/bigtop-packages/src/common/hadoop/install_hadoop.sh index 750fed5..a7409d9 100755 --- a/bigtop-packages/src/common/hadoop/install_hadoop.sh +++ b/bigtop-packages/src/common/hadoop/install_hadoop.sh @@ -250,7 +250,7 @@ install -d -m 0755 ${SYSTEM_INCLUDE_DIR} cp ${BUILD_DIR}/include/hdfs.h ${SYSTEM_INCLUDE_DIR}/ cp ${BUILD_DIR}/lib/native/*.a ${HADOOP_NATIVE_LIB_DIR}/ -for library in `cd ${BUILD_DIR}/lib ; ls libsnappy.so.1.* 2>/dev/null` libhadoop.so.1.0.0; do +for library in `cd ${BUILD_DIR}/lib/native ; ls libsnappy.so.1.* 2>/dev/null` libhadoop.so.1.0.0; do cp ${BUILD_DIR}/lib/native/${library} ${HADOOP_NATIVE_LIB_DIR}/ ldconfig -vlN ${HADOOP_NATIVE_LIB_DIR}/${library} ln -s ${library} ${HADOOP_NATIVE_LIB_DIR}/${library/.so.*/}.so
