compile your own libcod.
"Does not work" is an error report for a bug between keyboard and chair. All hail Artie Effem
You're probably using one of the pre-compiled libcod versions that dont play nice with your mysql install. The solution? Originally Posted by IzNoGoD compile your own libcod.
reinstalled ubuntu , then problem solved
Forum Rules