www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=3.4 required=5.0 tests=AWL,BAYES_05,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TW_YG |
X-Spam-Check-By: | sourceware.org |
Message-id: | <4F84DA13.8060304@cygwin.com> |
Date: | Tue, 10 Apr 2012 21:10:43 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-to: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 |
MIME-version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Some context is being stripped and I don't know how to create it to avoid "error while loading shared libraries: ?: cannot open shared object file: No such file or directory" problem |
References: | <Pine DOT LNX DOT 4 DOT 33 DOT 1204101440050 DOT 4889-100000 AT denzel DOT in> |
In-reply-to: | <Pine.LNX.4.33.1204101440050.4889-100000@denzel.in> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 4/10/2012 6:15 PM, Richard Troy wrote: > > Hello All, > > some oh, ten years ago or so I ran into this problem and thought I had it > licked wherein I'm launching Cygwin's bash utility (and from it another > program compiled under Cygwin) from Java. However, while the same code > works on every other version of Windows I can remember trying, it seems to > have returned for Windows 7. Either that, or I've forgotten some small > configuration fix! > > I've searched the archives and found nothing pertinent so I entered a > question about this on Stackoverflow - could save some writing here to > just reference that: > > http://stackoverflow.com/questions/10092730/launching-cygwin-built-executable-from-java-on-windows-7-fails-with-error-while <snip> > I doubt very much this has anything to do with the Cygwin version, but > I'll provide whatever data anyone asks for. However, some things cygcheck > reports that caught my eye are to be found below. One notable thing is > apparent "orphaned Cygwin installations" - but I don't recall ever making > true installations in the locations claimed! (Maybe cygwin1.dll makes > these from wherever it's used?) The orphaned installations represent places where cygwin1.dlls are or were. You want to make sure you clean them up. No reason to leave around orphans to trip and fall on. Also, since you're running 7 versions behind, updating is recommended but, as you say, not obviously your problem. Still, no reason not to be thorough in your testing. I would say, though, that it makes sense to test that the environment you expect to see is what you're getting when you invoke bash. How about if you invoke "env" from "cmd /c" instead of your program and send the output to a file you can inspect? If any or all of the above doesn't enlighten, I'd recommend cygcheck output accompany any follow-up here. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |