delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/21/11:07:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BAB5790.FBFE14B@syntrex.com>
Date: Fri, 21 Sep 2001 17:06:56 +0200
From: Pavel Tsekov <ptsekov AT syntrex DOT com>
Organization: Syntrex Inc.
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Mark Paulus <commpg AT yahoo DOT com>
CC: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Can't load/execute soft-linked DLL???
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019