--- erts/emulator/sys/unix/erl_unix_sys_ddll.c.orig	2009-11-04 16:37:36.000000000 +0100
+++ erts/emulator/sys/unix/erl_unix_sys_ddll.c	2009-11-04 16:38:28.000000000 +0100
@@ -49,6 +49,12 @@
 static int num_errcodes = 0;
 static int num_errcodes_allocated = 0;
 
+static void call_cf_initialize() __attribute__ ((constructor));
+
+static void call_cf_initialize()
+{
+    __CFInitialize();
+}
 
 static char *my_strdup(char *what)
 {
