tmysql issues

So I am trying to run a server on linux and when I launch it I get this:

Loading tmysql module... ERROR: GAMEMODE:'Initialize' Failed: error loading module 'tmysql' from file '/home/gm
od/srcds/orangebox/garrysmod/lua/includes/modules/gm_tmysql_linux.dll': cannot open shared object file: No such file or directory

[editline]25th January 2012[/editline]

I actually fixed that by installing files, but now I have this issue. invalid ELF header.

I am also getting this error, Cent OS 6 32bit. Any help guys?