This is the mail archive of the
mailing list for the Cygwin project.
Re: Running a program using a DLL under Cygwin
- From: Yucong Sun <sunyucong at gmail dot com>
- To: cygwin at cygwin dot com, Rainer dot Woitok at gmail dot com
- Date: Thu, 8 Oct 2015 21:56:02 +0800
- Subject: Re: Running a program using a DLL under Cygwin
- Authentication-results: sourceware.org; auth=none
- References: <22038 dot 29093 dot 221000 dot 863384 at woitok dot gmail dot com>
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
> 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.
> PS: Please also reply to me personally, as I'm not subscribed to this
> 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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple