X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=SIJCYN1 itMw5ImPZxQ4Htp7VBItLI+ijxtwdNxsRQdYk1oYA4ReTTtVIXZNrTx1axvDHThx W7J9lRzt01qGTOJx8mEYZ/uHte63z75e5h5a5fhVsbLMyd8mq7E4LHr/5UASgWwm PKepIP3Qr8BPZP4G9qdJuY1W82MA3pRSWx4k= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=ypXkJC3qBIBby KB19DXr68oSO04=; b=F+OMiCJO67I/lxGu7oOXTxymtR9zw/kryN7rjjW+Efevv 1ekqRhDmDN4nYrBHV7ofgql9LC+07NZW61lX/VsY/57fMXlOYgP2spVhcBAL+TsI 0G8/+/ZPUpFRIAE8woZwCYnbsle1iA9L1Tuf1fMnEMf4GAI3qXGDrFkQGDORMQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oi0-f42.google.com X-Received: by 10.202.58.85 with SMTP id h82mr4233049oia.69.1444312592323; Thu, 08 Oct 2015 06:56:32 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <22038.29093.221000.863384@woitok.gmail.com> References: <22038 DOT 29093 DOT 221000 DOT 863384 AT woitok DOT gmail DOT com> From: Yucong Sun Date: Thu, 8 Oct 2015 21:56:02 +0800 Message-ID: Subject: Re: Running a program using a DLL under Cygwin To: cygwin AT cygwin DOT com, Rainer DOT Woitok AT gmail DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes I think symlink is a cygwin thing. Windows won't find that DLL (just like you won't find it using windows explorer.) Windows only support loading DLL from project directory, or system32 as far as I know. On Thu, Oct 8, 2015 at 9:37 PM, Dr Rainer Woitok wrote: > Greetings, > > I'm running a program which requires a DLL sitting in my "~/bin/" dir- > ectory. Since "~/bin/" is contained in my "PATH" environment variable, > everything works as desired. Recently I moved the DLL elsewhere, re- > placing it with a symbolic link in "~/bin/". This caused the program to > fail to locate the DLL. Moving the DLL back in place caused the program > to work again. > > Is this a Windows problem (since DLLs are Windows rather than Unix) or > Cygwin's? The link was created with the normal "ln -s" command. And, > if that matters, Cygwin is running on Vista here. > > Sincerely, > Rainer > > PS: Please also reply to me personally, as I'm not subscribed to this > list. > > -- > 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 > -- 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