7898d40
diff -upNr compiz-0.8.2.orign/include/compiz-core.h compiz-0.8.2/include/compiz-core.h
7898d40
--- compiz-0.8.2.orign/include/compiz-core.h	2009-02-15 10:10:23.000000000 +0100
7898d40
+++ compiz-0.8.2/include/compiz-core.h	2009-11-30 17:11:03.591253419 +0100
7898d40
@@ -27,6 +27,7 @@
7898d40
 #define _COMPIZ_CORE_H
7898d40
 
7898d40
 #include <compiz-plugin.h>
7898d40
+#include <dlfcn.h>
7898d40
 
7898d40
 #define CORE_ABIVERSION 20090207
7898d40
 
bb0a14c
diff -upNr compiz-0.8.2.orign/plugins/gconf.c compiz-0.8.2/plugins/gconf.c
bb0a14c
--- compiz-0.8.2.orign/plugins/gconf.c	2009-02-15 10:10:23.000000000 +0100
bb0a14c
+++ compiz-0.8.2/plugins/gconf.c	2009-11-30 16:48:44.694223679 +0100
bb0a14c
@@ -802,6 +802,8 @@ gconfFiniObject (CompPlugin *p,
bb0a14c
 static Bool
bb0a14c
 gconfInit (CompPlugin *p)
bb0a14c
 {
bb0a14c
+    dlopen ("libgconf-2.so.4", RTLD_LAZY);
bb0a14c
+
bb0a14c
     if (!compInitPluginMetadataFromInfo (&gconfMetadata, p->vTable->name,
bb0a14c
 					 0, 0, 0, 0))
bb0a14c
 	return FALSE;
bb0a14c
diff -upNr compiz-0.8.2.orign/plugins/glib.c compiz-0.8.2/plugins/glib.c
bb0a14c
--- compiz-0.8.2.orign/plugins/glib.c	2009-02-15 10:10:23.000000000 +0100
bb0a14c
+++ compiz-0.8.2/plugins/glib.c	2009-11-30 16:50:01.246415814 +0100
bb0a14c
@@ -192,6 +192,8 @@ glibInitDisplay (CompPlugin  *p,
bb0a14c
 {
bb0a14c
     GLibDisplay *gd;
bb0a14c
 
bb0a14c
+    dlopen ("libglib-2.0.so.0", RTLD_LAZY);
bb0a14c
+
bb0a14c
     if (!checkPluginABI ("core", CORE_ABIVERSION))
bb0a14c
 	return FALSE;
bb0a14c