I just a spent considerable amount of time to get Crypt::SSLeay installed. Far too much time. At first I blamed myself, my host, my OpenSSL installation, perl, everything.
Finally I searched the web and found the following message:
Turns out that there's a bug in the code, and a one-liner patch to SSLeay.xs fixes it. There's even an RT ticket on the matter. Grrr!
So, if you see the following warning in your build:
SSLeay.xs:252: warning: passing arg 2 of `SSL_set_info_callback' from incompatible pointer type
... and the test dumps core, then patch the source as follows:
--- SSLeay.xs.orig 2002-08-01 17:43:22.000000000 -0400
+++ SSLeay.xs 2003-01-29 21:41:17.000000000 -0500
@@ -109,6 +109,7 @@
bNotFirstTime = 1;
And now it works, yay!