delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/21/10:52:41

Message-Id: <200109211452.KAA24788@delorie.com>
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
From: "Mark Paulus" <commpg AT yahoo DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Fri, 21 Sep 2001 08:51:44 -0600
Reply-To: "Mark Paulus" <commpg AT yahoo DOT com>
X-Mailer: PMMail 2000 Professional (2.20.2350) For Windows 2000 (5.0.2195;2)
MIME-Version: 1.0
Subject: Can't load/execute soft-linked DLL???

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