> I remember that I had to do some trick like this to get ruby with openssl to
> build on a Red Hat 9 box, but I don't have a note of what was the exact
> command I had to run.

I have now found the note. I wrote:

| Incidentally, I had some difficulty building ruby-1.8 with OpenSSL support
| under Red Hat. The fix is:
| 
| # export CPPFLAGS="-I/usr/kerberos/include"
| # export LDFLAGS="-L/usr/kerberos/lib"
| # ./configure

This may not be what you need for your Mandrake system, but from mkmf.log it
turned out there was some interdependency between the openssl and kerberos
libraries, and RH in their wisdom had put the kerberos libraries in a
non-standard place.

mkmf.log is your friend.

Regards,

Brian.