delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/11/14:45:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: Han-Wen Nienhuys <hanwen AT xs4all DOT nl>
MIME-Version: 1.0
Message-ID: <16746.54438.748058.786459@byrd.xs4all.nl>
Date: Mon, 11 Oct 2004 20:44:54 +0200
To: Jan Nieuwenhuizen <janneke AT gnu DOT org>
Cc: cygwin AT cygwin DOT com
Subject: Re: libtool bug
In-Reply-To: <87mzytboa0.fsf@peder.flower>
References: <16741 DOT 49587 DOT 333388 DOT 685699 AT byrd DOT xs4all DOT nl> <1968842951 DOT 20041008015659 AT familiehaase DOT de> <41662639 DOT 3030306 AT cwilson DOT fastmail DOT fm> <87d5zt4r3g DOT fsf AT peder DOT flower> <657467259 DOT 20041008123554 AT familiehaase DOT de> <41671F91 DOT 8020508 AT cwilson DOT fastmail DOT fm> <87ekk8qina DOT fsf AT peder DOT flower> <41687576 DOT 5000408 AT cwilson DOT fastmail DOT fm> <41687CFB DOT 8030302 AT cwilson DOT fastmail DOT fm> <87mzytboa0 DOT fsf AT peder DOT flower>
Reply-To: hanwen AT xs4all DOT nl

janneke AT gnu DOT org writes:
> Charles Wilson writes:
> 
> > BTW, Jan, I gather that, despite my earlier doubts, the libtool
> > changes in 1.5.10 fixed the "The application failed to initialize
> > properly (0xc0000005).
> 
> Not exactly, it is fixed, but I cannot confirm that was the fix.
> Guile had a copy of libtool pre 1.4 or something, which we replaced.
> Han-Wen built latest Guile CVS also using libtool 1.5.6 on Cygwin,
> which doesn't have this .rdata change?
> 
> > and now we're looking at another problem?
> 
> Yes, that's right.  Guile now starts fine, but dlopen-ing of a shared
> module does not work.
> 
> [Because Han-Wen reported that "(+ 1 2)" also worked for him, I think
>  Han-Wen found that (see earlier in this thread) linking with -lguile
>  just does not resolve at load time, Han-Wen?]

No, this is not correct. My original email exactly described the
problem: when linking the libsrfi-1 library with libtool 1.5.10 on
Cygwin, libguile.dll.a is not linked, causing the link to fail.

For mysterious reasons (libtool brokenness, I suppose), the compile
and make install do continue, but at run-time the (use-modules .. )
call throws error 126, which is entirely understandable, since
/usr/lib/ does not contain the libsrfi-1 DLL.

When linking libsrfi-1 by hand (inserting libguile.dll.a into the
command line),  and copying the resulting DLL to /usr/lib/ , use-modules
works correctly.

-- 

 Han-Wen Nienhuys   |   hanwen AT xs4all DOT nl   |   http://www.xs4all.nl/~hanwen 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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