blob: f9a520fbf43370e9ab05f26dbca7a60d76e141f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
set -ex
mkdir bld
cd bld
sudo cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local
sudo cmake --build . --config Release --target install
sudo apt-get -f -y install linux-tools-common linux-gcp linux-tools-$(uname -r)
echo $LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/lib
sudo install /usr/local/lib/mariadb/libmariadb.so /usr/lib
sudo install -d /usr/lib/mariadb
sudo install -d /usr/lib/mariadb/plugin
sudo apt install libmysqlclient-dev
|