anything
2021-3-8 13:58:22

I can’t seem to find libedit.dll in my Racket 7.9 BC installation. Does Racket include libedit.dll? Because of this I tried to install libreadline. I installed the Racket package readline-gpl. Downloaded readline, unpacked it to a local directory, copied readline5.dll to the rash-repl.exe directory, renamed it to libreadline–5.dll (copied history5.dll too), and ran rash-repl.exe once again. The result was: C:\Users\x\AppData\Roaming\Racket\7.9>rash-repl.exe ffi-lib: couldn't open "libreadline-5.dll" (%1 não é um aplicativo Win32 válido.; errid=193) This means "%1 is not a valid Win32 application; errid=193". I must have the wrong DLL for my system or something like that. My system is a Windows 10, 64-bit. Here’s the output of file on both the library and the executable rash-repl.exe. %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 Windows Does this ring any bell as to incompatibilities? Perhaps rash-repl expects an x86–64 DLL?


anything
2021-3-8 14:17:06

I guess I’m mixing 32 and 64 bit in the same program. Most likely I need a 64-bit readline DLL. I hope that’s easy to find. Will hunt it down. (Not easy to find.)