delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/31/18:58:06

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sun, 31 May 2009 18:57:40 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: R: [1.7] does LD_PRELOAD support more than 1 dll ?
Message-ID: <20090531225740.GA6358@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <53624 DOT 52854 DOT qm AT web25008 DOT mail DOT ukl DOT yahoo DOT com>
MIME-Version: 1.0
In-Reply-To: <53624.52854.qm@web25008.mail.ukl.yahoo.com>
User-Agent: Mutt/1.5.19 (2009-01-05)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Sun, May 31, 2009 at 11:56:12AM +0000, Marco Atzeri wrote:
>
>--- Sab 30/5/09, Christopher Faylor  ha scritto:
>
>> >Ok, I found it. 
>> >The order is also relevant
>> >
>> >cygoctinterp.dll requires 
>> >???cygcruft.dll and cygoctave.dll
>> >
>> >cygoctave.dll requires 
>> >? cygcruft.dll
>> >
>> >So the working way is :
>> >
>> >export LD_PRELOAD="$libcruft:$liboctave:$liboctinterp"
>> 
>> i.e., dependency order is important.? That isn't too
>> surprising is it?
>> 
>> cgf
>> 
>
>No of course.
>But it is the second difference from the other system, I will try to
>add a note on the cygwin user guide.

This isn't a Cygwin-specific thing.  That's the way Windows works.
Order is dependent here for the same reason that you can't do:

gcc -Lfoo program-that-uses-foo.o

on Windows.

cgf

--
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