Index: trunk/src/sh_database.c
===================================================================
--- trunk/src/sh_database.c	(revision 96)
+++ trunk/src/sh_database.c	(revision 97)
@@ -1100,5 +1100,10 @@
        * to lack of access permission is not reported).
        */
+#if !defined(__x86_64__)
+      /* 
+       *   libmysql segfaults on x86-64 if this is used
+       */
       mysql_options(db_conn, MYSQL_READ_DEFAULT_GROUP, _("samhain"));
+#endif
 
       status = 0;
