--- configure.orig	2010-11-07 17:25:32.000000000 +0100
+++ configure	2010-11-14 12:12:12.000000000 +0100
@@ -9435,7 +9435,7 @@
 #define HAVE_LIBCRYPTO 1
 _ACEOF
 
-  LIBS="-lcrypto $LIBS"
+  LIBS="-lcrypto -ldl $LIBS"
 
 fi
 
