From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68225 invoked by alias); 8 Oct 2015 13:56:36 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 68210 invoked by uid 89); 8 Oct 2015 13:56:35 -0000 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 Received: from mail-oi0-f42.google.com (HELO mail-oi0-f42.google.com) (209.85.218.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 08 Oct 2015 13:56:34 +0000 Received: by oigi138 with SMTP id i138so5140466oig.2 for ; Thu, 08 Oct 2015 06:56:32 -0700 (PDT) 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 Received: by 10.202.84.208 with HTTP; Thu, 8 Oct 2015 06:56:02 -0700 (PDT) In-Reply-To: <22038.29093.221000.863384@woitok.gmail.com> References: <22038.29093.221000.863384@woitok.gmail.com> From: Yucong Sun Date: Thu, 08 Oct 2015 13:56:00 -0000 Message-ID: Subject: Re: Running a program using a DLL under Cygwin To: cygwin@cygwin.com, Rainer.Woitok@gmail.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00090.txt.bz2 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