I’ve had this issue for a while now with tmysql. My server has CentOS 6. Here is the error I get.
error loading module ‘tmysql’ from file ‘/home/gmod/srcds/orangebox/garrysmod/lua/includes/modules/gm_tmysql_linux.dll’:
libmysqlclient.so.16: cannot open shared object file: No such file or directory
I’ve been googling this error for a day now but can not simply find a solution into it. I have found few useful posts
http://www.facepunch.com/threads/1059858-Help-gm_tmysql-error?p=30299965&viewfull=1#post30299965
http://www.facepunch.com/threads/1059858?p=28133860&viewfull=1#post28133860
I’ve tried them both. I downloaded the libmysqlclient.a and made a symlink to it with name libmysqlclient.so.16, no changes.
I downloaded the files AzuiSleet gave, took them to my /usr/lib64 folder and ran LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib ; export LD_LIBRARY_PATH, this did not help either.
I have the gm_tmysql_linux.dll and libmysql.dll downloaded from here. http://gmodmodules.googlecode.com/svn/trunk/gm_tmysql3_boost/
Any help on what should I do?