Path: csiph.com!aioe.org!/EOwh9Xnp7InxgDs7UTFgA.user.gioia.aioe.org.POSTED!not-for-mail From: Boris Dorestand Newsgroups: comp.programming,comp.misc Subject: on (not) finding a 64-bit version of readline.dll Followup-To: comp.programming Date: Mon, 08 Mar 2021 14:22:05 -0300 Organization: Aioe.org NNTP Server Lines: 51 Message-ID: <86blbt7e82.fsf@example.com> NNTP-Posting-Host: /EOwh9Xnp7InxgDs7UTFgA.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.9.2 Cancel-Lock: sha1:Mikt7xI5ZAn0vdNZ8yr006DPROw= Xref: csiph.com comp.programming:12316 comp.misc:20607 I'm looking for a 64-bit version of readline.dll. Here's why. I'm interested in running this very cool shell called Rash. https://github.com/willghatch/racket-rash The package provides a rash-repl.exe binary, but it needs either libedit.dll or libreadline-5.dll. Since I don't have either, I decided the go with libreadline-5.dll, but I only find 32-bit versions online such as the executable-package available at http://gnuwin32.sourceforge.net/downlinks/readline.php When I run rash-repl.exe, I get C:\Users\x\AppData\Roaming\Racket\7.9>rash-repl.exe ffi-lib: couldn't open "libreadline-5.dll" ([...] errid=126) The message is effectively "The specified module could not be found.; errid=126)". So I libreadline-5.dll in the same directory as rash-repl.exe. C:\Users\x\AppData\Roaming\Racket\7.9>dir libreadline-5.dll [...] 07/03/2005 17:48 229.888 libreadline-5.dll [...] Running it again, I get: C:\Users\x\AppData\Roaming\Racket\7.9>rash-repl.exe ffi-lib: couldn't open "libreadline-5.dll" ([...]; errid=193) The message is effectively "%1 is not a valid Win32 application; errid=193", which suggests me I can't mix 32 and 64-bit code in the same program. --8<---------------cut here---------------start------------->8--- %file rash-repl.exe rash-repl.exe: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows %file libreadline-5.dll libreadline-5.dll: PE32 executable (DLL) (console) Intel 80386 (stripped to external PDB), for MS Windo --8<---------------cut here---------------end--------------->8--- So, I'm looking for a 64-bit version of readline, which seems not easy to find on the web. I appreciate any help. By the way, I don't know from the top of my head any windows-specific newsgroup for this type of question. I suppose many here run Windows and are users of the GNU readline library, but feel free to follow-up with a more adequate newsgroup. I'd follow suit. Thank you!