[racket] sandbox error

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Jan 14 10:24:44 EST 2015

I think `scribble/manual` is trying to load "libcrypto" as part of
using OpenSSL for its SHA1 functionality.

I haven't been able to replicate the error that you're getting, and my
best guess is that we need to add a version of libcrypto to our list.
Does your installation have any of these?

 libcrypto.so
 libcrypto.so.1.0.1e
 libcrypto.so.1.0.0
 libcrypto.so.1.0
 libcrypto.so.0.9.8b
 libcrypto.so.0.9.8
 libcrypto.so.0.9.7

If you have some other "libcrypto", then a symbolic link from
"libcrypto.so" to that version should work around the problem.

At Tue, 13 Jan 2015 12:55:37 -0700, Lucas Paul wrote:
> Hi. I'm trying to use a racket sandbox to safely evaluate some
> scribble code, but I'm having trouble setting up the sandbox in the
> first place. The following produces an error on my system:
> 
> (make-evaluator 'racket/base #:requires '(scribble/manual scribble/racket))
> 
> The error is:
> 
> ../../../../../../../usr/share/racket/collects/racket/private/so-search.rkt:37:
> 20:
> file-exists?: `exists' access denied for /usr/lib/libcrypto
> 
> I'm running Racket 6.1.1 on Arch Linux x86_64. The exact same code
> seems to work correctly for Michael Ballantyne with Racket 6.1 on a
> Mac. Am I doing something wrong? Is there a reason Scribble needs
> libcrypto? Is this a bug I should report? I truly don't know what's
> going on.
> 
> Please help,
> Lucas
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users

Posted on the users mailing list.