If you happened to have see this error when you install your Sysbench
Check whether your libmysqlclient is there by execute
shell> ldconfig -p| grep mysql
Result screen would be similar as below, if the libmysqlclient is already installed.
--------------------------------------------------------------------------------------------------------
libmysqlclient.so.16 (libc6,x86-64) => /usr/lib64/libmysqlclient.so.16
libmysqlclient.so (libc6,x86-64) => /usr/lib64/libmysqlclient.so
--------------------------------------------------------------------------------------------------------
OR else it is empty.
The solution if the result screen is empty is to download "MySQL-shared-5.5.9-1.linux2.6.x86_64.rpm" and install it. Execute the linux command as below, if you had download the rpm file.
shell > rpm -ivh MySQL-shared-5.5.9-1.linux2.6.x86_64.rpm
Afterward, you are able to continue install your Sysbench without the error as below shown.
No comments:
Post a Comment