sysbench测试问题

mysql安装的是tar版!红旗桌面版!

sysbench安装
/configure --with-mysql-includes=/opt/mysql/include --with-mysql-libs=/optl/mysql/lib
make
make install

sysbench安装完毕,并未报什么错误。但是准备test的时候,总是报错

sysbench: error while loading shard libraries: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory

检查mysql安装库路的lib,明明这个文件在里面,怎么会报错呢?

Taxonomy upgrade extras:

ldd sysbench 看

libmysqlclient_r.so.15 not found

但是 我的lib文件夹下,实实在在存在这个文件 ,我在./configure & make & make install 时均未提出错误。 怎么回事? 我该怎么办?


需要export LD_LIBRARY_PATH=/usr/local/mysql/lib