[racket] SSL on Amazon Linux AMI using racket-5.2.1-bin-x86_64-linux-f14

From: Greg Hendershott (greghendershott at gmail.com)
Date: Mon Jun 4 14:56:17 EDT 2012

This time around, it turned out I needed to install the `openssl-devel' package:

$ sudo yum install openssl-devel

I'll add this to the wiki in case it helps anyone else.

On Mon, Jun 4, 2012 at 2:16 PM, Greg Hendershott
<greghendershott at gmail.com> wrote:
> On Amazon Linux 64-bit using racket-5.2.1-bin-x86_64-linux-f14 (64-bit
> for Fedora 14):
>
> $ racket
> Welcome to Racket v5.2.1.
> -> (require openssl)
> -> (define-values (in out) (ssl-connect "www.google.com" 80))
> ; SSLv23_client_method: implementation not found; no arguments provided [,bt
> ;   for context]
> -> ,bt
> ; SSLv23_client_method: implementation not found; no arguments provided
> ;  === context ===
> ; /usr/racket/collects/openssl/mzssl.rkt:242:16
> ; /usr/racket/collects/xrepl/xrepl.rkt:1277:0
> ; /usr/racket/collects/racket/private/misc.rkt:87:7
>
> I've experienced this before with 32-bit Racket for Fedora and the
> 32-bit Amazon Linux AMI. There's a mismatch on the SO names. Last time
> I worked around it using `ln'. I'll report back if similar work-around
> helps this time.


Posted on the users mailing list.