delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/03/18:34:47

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.4 required=5.0 tests=AWL,BAYES_00,BOTNET
X-Spam-Check-By: sourceware.org
Message-id: <4B8EF200.8060304@cygwin.com>
Date: Wed, 03 Mar 2010 18:34:24 -0500
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 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: taskkill - error while loading shared libraries - LD_LIBRARY_PATH?
References: <b89d7ba31003011510o766c331bj59b0eb78a1caa535 AT mail DOT gmail DOT com> <b89d7ba31003031512t2b46d5d9l621175a84db25e56 AT mail DOT gmail DOT com>
In-reply-to: <b89d7ba31003031512t2b46d5d9l621175a84db25e56@mail.gmail.com>
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 3/3/2010 6:12 PM, Robert Mark wrote:
> Hi All,
>
> No one else has seen this sort of issue before?
>
>> I have upgraded to Cygwin 1.7 (CYGWIN_NT-5.1 1.7.1(0.218/5/3)
>> 2009-12-07 11:48) and am having trouble running a windows commands
>> that I use a lot as part of Cygwin. For example, when I use taskkill I
>> get:
>>
>> /c/WINDOWS/system32/taskkill.exe: error while loading shared
>> libraries: ?: cannot open shared object file: No such file or
>> directory
>>
>> I have read some posts from this list and seen discussion around
>> LD_LIBRARY_PATH being the path for DLLs. In my environment the
>> LD_LIBRARY_PATH variable is not set. I try "export
>> LD_LIBRARY_PATH="$PATH" but that doesn't fix the issue either.
>>
>> Any advice as to how I can get this working would be most appreciated!

Since taskkill is a Windows app and not a Cygwin one, there is no
benefit to fiddling with LD_LIBRARY_PATH, even if Cygwin apps
would otherwise be affected by it (they won't be).  I find the
terminology of the error you see to particularly interesting, since it
doesn't look like your standard Windows error report and certainly
doesn't match the format I see when I force taskkill to error out.
But that's a MS issue/oddity that's better addressed in a Windows
forum.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019