delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/29/05:32:45

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_72,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <972649.45266.qm@web25004.mail.ukl.yahoo.com>
References: <972649 DOT 45266 DOT qm AT web25004 DOT mail DOT ukl DOT yahoo DOT com>
From: Julio Costa <costaju AT gmail DOT com>
Date: Fri, 29 May 2009 10:31:56 +0100
Message-ID: <af075b00905290231x6d244c7dua36c9b513f379926@mail.gmail.com>
Subject: Re: [1.7] does LD_PRELOAD support more than 1 dll ?
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
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 Fri, May 29, 2009 at 09:10, Marco Atzeri <marco_atzeri AT yahoo DOT it> wrote:
>
> the outcome is:
> =C2=A0$ LD_PRELOAD=3D"/tmp/prova/cygjpeg-62.dll /tmp/prova/cygpng12.dll" =
sudoku
> =C2=A0 =C2=A0 =C2=A03 [main] bash 12924 C:\cygwin2\bin\bash.exe: *** fata=
l error - error while loading shared libraries: /tmp/prova/cygjpeg-62.dll /=
tmp/prova/cygpng12.dll: cannot open shared object file: No such file or dir=
ectory
> Hangup
>
> while if I specify only 1 dll
> $ LD_PRELOAD=3D"/tmp/prova/cygjpeg-62.dll" sudoku
>
> it works.
>
> Is it a bug, feature or a BLODA issue ?
>

I don't know if it still stands up to date, but after a minor
googling, I stumbled upon this message:

http://www.cygwin.com/ml/cygwin-cvs/2005-q2/msg00031.html

Where it reads:

"* hookapi.cc (ld_preload): Use colon as a separator rather than space."

So, it might worth the test :)

Hope it helps.

___________
Julio Costa

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