[racket] ffi-lib: couldn't open "libreadline.dll.5" - Windows XP
I edited my racketrc.rktl and the error is gone!
Thanks Matthew!
In retrospect, I guess I'm used to the occasional readline issues on OS X and
Linux in the past, so part of me is assuming that Windows works the same. Also
the documentation for Racket isn't as verbose as some of the documentation I
read, so I need to parse it better.
Chris
________________________________
From: Matthew Flatt <mflatt at cs.utah.edu>
To: Chris Nelson <xradionut at yahoo.com>
Cc: users at racket-lang.org
Sent: Sat, January 1, 2011 9:30:47 AM
Subject: Re: [racket] ffi-lib: couldn't open "libreadline.dll.5" - Windows XP
At Sat, 1 Jan 2011 07:20:48 -0800 (PST), Chris Nelson wrote:
> I'm a new user of Racket just working through the introduction examples and
> such. I've finished "Quick: An Introduction to Racket with Pictures" with
> DrRacket and I'm attempting to complete More: "Systems Programming with Racket"
>
> through cmd.exe. However I'm receiving the following message after loading
> Racket at the command line.
>
> --------------
> Welcome to Racket v5.0.2.
> ffi-lib: couldn't open "libreadline.dll.5" (The specified module could not be
> found.; errno=126)
> --------------
> Readline does appear to be installed in my racketrc.rktl, and DrRacket aggrees
> so maybe racket.exe is looking in a different path than DrRacket in Windows.
Readline isn't useful when using "cmd.exe" in Windows, because the
Windows command shell gives you readline-like functionality
automatically. There's a note to that effect before the
`install-readline!' example in "More", but maybe it needs to be more
clear that readline typically isn't available at all under Windows.
So, I think you want to just remove the `readline' loading from your
"racketrc.rktl".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110101/d74f3804/attachment.html>