Открываешь терминал и выполняешь следующие команды
sudo aptitude install build-essential
patch -u <<EOF
--- ibutil.c.orig 2009-10-21 03:23:10.000000000 +0800
+++ ibutil.c 2010-03-17 17:52:14.013002767 +0700
@@ -1,22 +1,11 @@
#include <stdlib.h>
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
-#endif
#include <string.h>
-#include <math.h>
-#include <ibase.h>
-#include "example.h"
-
-
-
+#ifdef WIN32
+#define EXPORT __declspec(dllexport)
+#else
+#define EXPORT
+#endif
int EXPORT fn_strlen(char *str)
{
EOF
gcc -Wall -c -fPIC ibutil.c
gcc -shared -o libibutil.so ibutil.o