Can't load/execute soft-linked DLL???

Pavel Tsekov ptsekov@syntrex.com
Fri Sep 21 08:07:00 GMT 2001


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/



More information about the Cygwin mailing list