Search code examples
cygwin

bash.exe - entry point not found


when trying to install cygwin, I keep getting this error message:

the entry point rl_filename_rewrite_hook could not be located in the dynamic link library cygreadline7.dll

Has anyone seen this before ?

Thanks


Solution

  • I had the same error with cygwin1.dll. I checked in c:\cygwin\bin and noticed there were two files, cygwin1.dll and cygwin1.dll.new (possibly from a failed or aborted setup run?). The ".new" version was in fact newer (and slightly larger) than the existing cygwin1.dll, so I replaced cygwin1.dll with cygwin1.dll.new, and ran setup again. It completed with no errors.