Building sysbench 0.4

Февраль 17th, 2014 | Posted by elenst in Pensieve | Testing

Download from

Get correct library and include paths by running mysql_config from the MySQL/MariaDB package that you want to use for building sysbench.

If there are two paths returned, like in MariaDB 5.5, the one where mysql.h sits seems to work well.

To link dynamically, run
./configure --with-mysql-libs= --with-mysql-includes=

To link statically, run
./configure --with-mysql-libs= --with-mysql-includes= --with-extra-ldflags=-all-static

Copy libtool from the system to the sysbench dir, otherwise it is likely to fail:

cp `which libtool` ./
ls -l ./libtool


sysbench/sysbench --version

You can follow any responses to this entry through the RSS 2.0 Both comments and pings are currently closed.