This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]