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:

/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Windows/System32/OpenSSH:/cygdrive/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/cygdrive/c/Program Files (x86)/Emacs/i686/bin:.:$HOME/bin:/cygdrive/c/usr/bin:/cygdrive/c/Users/clayt/AppData/Local/Microsoft/WindowsApps

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.”


--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to