This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Can't load/execute soft-linked DLL???
- To: Mark Paulus <commpg at yahoo dot com>
- Subject: Re: Can't load/execute soft-linked DLL???
- From: Pavel Tsekov <ptsekov at syntrex dot com>
- Date: Fri, 21 Sep 2001 17:06:56 +0200
- CC: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Organization: Syntrex Inc.
- References: <md5:0FB71FE06AA576D51AB2BF12133BFF3F>
The win32 loader doesnt understand the cygwin symlinks :)
Mark Paulus wrote:
>
> Hi,
>
> I'm working on converting a linux app to cygwin. One of the
> things the build process does is create a .so that is named:
> library.so.major.minor.point, and then it creates a soft
> link of library.so.major.minor.point to library.so.
>
> I have changed around the LD build options to create a cygwin
> dll, and changed the makefile to build
> library.dll.major.minor.point (I used the same trick as is used to
> generate a $(EXE) in the makefile, except I call it $(SO).
>
> Anyway, the library.dll.major.minor.point seems to build ok, and then
> it creates a link to library.dll. However, when I try to run my app,
> it tells me that it can't find/load library.dll. However, when I do a
> copy of library.dll.m.m.p to library.dll, then the app can startup
> ok.
>
> Is this a known deficiency within cygwin, or something that needs to
> be examined???
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/