Skip to content

Instantly share code, notes, and snippets.

@aligusnet
Created September 8, 2013 13:24
Show Gist options
  • Save aligusnet/6484685 to your computer and use it in GitHub Desktop.
Save aligusnet/6484685 to your computer and use it in GitHub Desktop.
Build Hadoop pipes for OS X 10.8. In case of pipes linker error "Cannot find libssl.so" try to replace line #4744 and #4808 and in configure LIBS="-lssl $LIBS" to LIBS="-lcrypto $LIBS". Don't forget to add -lcrypto if you build an app with -lhadooppipes.
#!/usr/bin/env bash
export PLATRORM=darwin-amd64-64
# build and install utils
cd $HADOOP_INSTALL/src/c++/utils
chmod +x configure install-sh
./configure --prefix=$HADOOP_INSTALL/c++/$PLATFORM
make install
# build and install pipes
cd ../pipes
chmod +x configure install-sh
./configure --prefix=$HADOOP_INSTALL/c++/$PLATFORM
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment