X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 500213947410 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=claytoncramer.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=claytoncramer.com X-Sender-Id: hostrocketcom|x-authuser|clayton AT claytoncramer DOT com X-Sender-Id: hostrocketcom|x-authuser|clayton AT claytoncramer DOT com X-MC-Relay: Neutral X-MailChannels-SenderId: hostrocketcom|x-authuser|clayton AT claytoncramer DOT com X-MailChannels-Auth-Id: hostrocketcom X-Bubble-Troubled: 4339b1d048e9c8fc_1647713779886_2411598290 X-MC-Loop-Signature: 1647713779886:3650926669 X-MC-Ingress-Time: 1647713779885 Message-ID: Date: Sat, 19 Mar 2022 12:15:35 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: this must be a common problem, but repeated searching is not finding an answer Content-Language: en-US To: cygwin AT cygwin DOT com References: <79540473-1c96-9a9a-0c19-3c5ecded6b27 AT SystematicSw DOT ab DOT ca> From: Clayton Cramer In-Reply-To: <79540473-1c96-9a9a-0c19-3c5ecded6b27@SystematicSw.ab.ca> X-HostRocket-MailScanner-Information: Please contact the ISP for more information X-HostRocket-MailScanner-ID: 1nVdc4-00010F-Em X-HostRocket-MailScanner: Found to be clean X-HostRocket-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.584, required 5, ALL_TRUSTED -1.00, AWL 0.79, BAYES_50 0.80, T_SCC_BODY_TEXT_LINE -0.01) X-HostRocket-MailScanner-From: clayton AT claytoncramer DOT com X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00, BODY_8BITS, KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-AuthUser: clayton AT claytoncramer DOT com X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 22JII4Lm023063 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