This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: R: [1.7] does LD_PRELOAD support more than 1 dll ?
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 31 May 2009 18:57:40 -0400
- Subject: Re: R: [1.7] does LD_PRELOAD support more than 1 dll ?
- References: <53624.52854.qm@web25008.mail.ukl.yahoo.com>
- Reply-to: 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/