From: Yucong Sun <sunyucong@gmail.com>
To: cygwin@cygwin.com, Rainer.Woitok@gmail.com
Subject: Re: Running a program using a DLL under Cygwin
Date: Thu, 08 Oct 2015 13:56:00 -0000 [thread overview]
Message-ID: <CAJygYd3DLkzj=Va7uuU8-NSjUG6kog0YqBuvhDMMA=0vZwY+=Q@mail.gmail.com> (raw)
In-Reply-To: <22038.29093.221000.863384@woitok.gmail.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
<rainer.woitok@gmail.com> 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
next prev parent reply other threads:[~2015-10-08 13:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-08 13:37 Dr Rainer Woitok
2015-10-08 13:56 ` Yucong Sun [this message]
2015-10-08 14:54 ` Csaba Raduly
2015-10-08 15:20 ` Andrey Repin
2015-10-11 5:54 ` Linda Walsh
2015-10-11 14:35 ` Andrey Repin
2015-10-11 22:38 ` Problems w/cygsym links vs. winsymlnks: (was Re: Running a program using a DLL under Cygwin) Linda Walsh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJygYd3DLkzj=Va7uuU8-NSjUG6kog0YqBuvhDMMA=0vZwY+=Q@mail.gmail.com' \
--to=sunyucong@gmail.com \
--cc=Rainer.Woitok@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).