From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cross.elm.relay.mailchannels.net (cross.elm.relay.mailchannels.net [23.83.212.46]) by sourceware.org (Postfix) with ESMTPS id 500213947410 for ; Sat, 19 Mar 2022 18:16:21 +0000 (GMT) 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@claytoncramer.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 31498621580 for ; Sat, 19 Mar 2022 18:16:20 +0000 (UTC) Received: from mailroom3.hostrocket.com (unknown [127.0.0.6]) (Authenticated sender: hostrocketcom) by relay.mailchannels.net (Postfix) with ESMTPA id AF34F6210A2 for ; Sat, 19 Mar 2022 18:16:04 +0000 (UTC) X-Sender-Id: hostrocketcom|x-authuser|clayton@claytoncramer.com Received: from mailroom3.hostrocket.com (mailroom3.hostrocket.com [216.120.254.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.109.126.219 (trex/6.5.3); Sat, 19 Mar 2022 18:16:20 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: hostrocketcom|x-authuser|clayton@claytoncramer.com X-MailChannels-Auth-Id: hostrocketcom X-Bubble-Troubled: 4339b1d048e9c8fc_1647713779886_2411598290 X-MC-Loop-Signature: 1647713779886:3650926669 X-MC-Ingress-Time: 1647713779885 Received: from [69.9.58.245] (port=50036 helo=[192.168.0.105]) by mailroom3.hostrocket.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1nVdc4-00010F-Em for cygwin@cygwin.com; Sat, 19 Mar 2022 14:15:40 -0400 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@cygwin.com References: <79540473-1c96-9a9a-0c19-3c5ecded6b27@SystematicSw.ab.ca> From: Clayton Cramer In-Reply-To: <79540473-1c96-9a9a-0c19-3c5ecded6b27@SystematicSw.ab.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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@claytoncramer.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@claytoncramer.com X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.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: , X-List-Received-Date: Sat, 19 Mar 2022 18:16:22 -0000 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.”