# tpcc-mysql build

**URL:** <https://forums.percona.com/t/tpcc-mysql-build/1972>\
**Category:** Other MySQL® Questions\
**Created:** [January 21, 2013, 1:18pm UTC](https://forums.percona.com/t/tpcc-mysql-build/1972 "2013-01-21T13:18:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbwood](https://avatars.discourse-cdn.com/v4/letter/r/b5a626/32.png) [@rbwood](https://forums.percona.com/u/rbwood)\
**Post date:** [January 21, 2013, 1:18pm UTC](https://forums.percona.com/t/tpcc-mysql-build/1972/1 "2013-01-21T13:18:14Z")

</div>

I am trying to build tpcc-mysql from source. make prints the error msg “cannot find -lmysqlclient\_r”.

I can see this lib in the /usr/local/mysql/lib, and my PATH is set correctly.

Distrib 5.5.28.

---

<div class="post-metadata">

**Author:** ![miguelangelnieto](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@miguelangelnieto](https://forums.percona.com/u/miguelangelnieto)\
**Post date:** [January 22, 2013, 4:23am UTC](https://forums.percona.com/t/tpcc-mysql-build/1972/2 "2013-01-22T04:23:38Z")

</div>

mysqlclient\_r is the thread-safe library. Which Linux distribution are you using? I’m assuming that you are running linux 😉

Also, please check that mysql developer package is installed. For example the name of that package in Debian is libmysqlclient-dev.
