this must be a common problem, but repeated searching is not finding an answer

Clayton Cramer
Sat Mar 19 18:15:35 GMT 2022

Running bc by itself gave the same error message.

Just in case that bc was not part of cygwin, I deleted it and reran the 
install.  It did not seem to have bc listed as a component to install.  
My PATH is now:

Files/NVIDIA Corporation/NVIDIA NvDLISR:/cygdrive/c/Program Files 

If bc is not in cygwin, what should I use to get a version for Windows?  
Or do I need to roll my own?

On 3/19/2022 11:57 AM, Brian Inglis wrote:
> On Sat, 19 Mar 2022 08:12:15 -0700, Achim Gratz wrote:
>> Clayton Cramer writes:
>>> I installed everything from the setup program, but executing bc gives
>>> "The code execution cannot proceed because readline4.dll was not
>>> found.  Reinstalling the program may fix this problem."  From where do
>>> I get readline4.dll?
>> Cygwin's bc does not depend on this library and it would not give you
>> this error message either.  I suggest you try "/usr/bin/bc" from a
>> Cygwin shell and then think about what you want to have your PATH look
>> like.
> I wonder which setup program that was, and how your environment is set 
> up?
> That message is from a native Windows port of bc, installed under/by 
> Mingw/64, Msys/2, Chocolatey or some other native Windows port 
> installer that does not handle library dependencies. You would have to 
> install that environment's readline library using their setup program.
> If you have installed Cygwin, you must start it using (perhaps some 
> minor variation of) the provided shortcuts, command files, or scripts, 
> and ensure the Cygwin path is set with Cygwin /usr/bin/ near the 
> start, possibly preceded by your own local script directory/-ies: e.g.
>     $HOME/bin:/usr/local/bin:/usr/bin
“I look to a day when people will not be judged by the color of their skin, but by the content of their character.”

More information about the Cygwin mailing list