Skip to content

Instantly share code, notes, and snippets.

@zazabe
Created December 6, 2017 12:23
Show Gist options
  • Save zazabe/e5b4f1fd5135b5e7afb7c4a55142a7f7 to your computer and use it in GitHub Desktop.
Save zazabe/e5b4f1fd5135b5e7afb7c4a55142a7f7 to your computer and use it in GitHub Desktop.
How to install percona-playback
sudo apt-get install libtbb-dev libmysqlclient-dev libboost-program-options-dev libboost-thread-dev libboost-regex-dev libboost-system-dev libboost-chrono-dev pkg-config cmake build-essential libssl-dev git
mkdir install
cd install
git clone https://github.com/percona/percona-playback
cd percona-playback
mkdir build_dir
cd build_dir
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
sed -i 's#MYSQL_LIB-NOTFOUND#/usr/lib/x86_64-linux-gnu/libmysqlclient.so#g' CMakeCache.txt
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
make
make test
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment