安装sysbench遇到找不到库文件的问题

export LD_LIBRARY_PATH=/usr/mysql/lib
./configure --prefix=/usr/local/sysbench --with-mysql-includes=/data/eh/mysql/include/
--with-mysql-libs=/data/eh/mysql/lib/ --with-mysql=/data/eh/mysql

原文地址:https://www.cnblogs.com/HarveyBing/p/5989951.html