Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: Chris Faylor Date: Sat, 2 Sep 2000 22:19:15 -0400 To: cygwin AT sources DOT redhat DOT com Cc: gvv AT techie DOT com Subject: Re: DLL naming conventions Message-ID: <20000902221915.B13854@cygnus.com> Reply-To: cygwin AT sources DOT redhat DOT com Mail-Followup-To: cygwin AT sources DOT redhat DOT com, gvv AT techie DOT com References: <200009011148 DOT OAA23769 AT urkki DOT tellabs DOT fi> <39AFB333 DOT 69CE5F95 AT ece DOT gatech DOT edu> <20000902140958 DOT F7695 AT demon DOT co DOT uk> <39B14893 DOT A86AF3F9 AT ece DOT gatech DOT edu> <20000902231925 DOT Q7695 AT demon DOT co DOT uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: <20000902231925.Q7695@demon.co.uk>; from gvv@techie.com on Sat, Sep 02, 2000 at 11:19:25PM +0100 On Sat, Sep 02, 2000 at 11:19:25PM +0100, Gary V. Vaughan wrote: >> Since windows-dll >> loading is based on the executable path, and not 'LD_LIBRARY_PATH' or >> similar, you've got a problem. > >Most definitely. It is *not* strictly based on the executable path. It first searches the current directory, then searches the directory containing the executable. Most Windows packages rely on this and place the DLL with the executable. That should solve the problem of finding the "wrong" dll. I'm still kind of amazed by all of the furor this discussion is generating, given that I don't think we have yet seen a single problem reported. If this was a big deal I would have thought that there would be many many plaintive wails in this mailing list. If the solution to the problem is as simple as placing the DLL with the executable then why the heck don't we just do that? I love being as close to UNIX as possible but if it is going to cause problems then it makes sense not to do things that way. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com