delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/30/00:55:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <984241.31046.qm@web25002.mail.ukl.yahoo.com>
Date: Sat, 30 May 2009 04:55:12 +0000 (GMT)
From: Marco Atzeri <marco_atzeri AT yahoo DOT it>
Subject: Re: R: [1.7] does LD_PRELOAD support more than 1 dll ?
To: cygwin AT cygwin DOT com, Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

--- Sab 30/5/09, Dave Korn  ha scritto:

> Da: Dave Korn=20
> Oggetto: Re: R: [1.7] does LD_PRELOAD support more than 1 dll ?
> A: cygwin AT cygwin DOT com
> Data: Sabato 30 maggio 2009, 03:07
> Marco Atzeri wrote:
>=20
> > May I suggest a small note in the documentation ?
> > Just to help the next one to not fall in the same
> problem.=20
> > :-)
>=20
> =A0 PTC and all that... if you want a hand with the
> English grammar/spelling,
> ask me offlist.
>=20
> > so it seems that the LD_PRELOAD is not working well=20
> > in case of fork.=20
>=20
> =A0 Did you export it?=A0 That might make a
> difference if the shell is involved.
>=20
> =A0 =A0 cheers,
> =A0 =A0 =A0 DaveK
>=20
Hi Dave,
also exporting all the 3 variables in the script
does make no difference

export PATH=3D"$builddir/src:$builddir/liboctave:$builddir/libcruft:$PATH"
export LD_PRELOAD=3D"$liboctinterp:$liboctave:$libcruft"
export LD_LIBRARY_PATH=3D"$builddir/src:$builddir/liboctave:$builddir/libcr=
uft:$LD_LIBRARY_PATH"
OCTAVE_SITE_INITFILE=3D"$top_srcdir/scripts/startup/main-rcfile" \
  exec $driver "$builddir/src/octave" --no-init-path --path=3D"$LOADPATH" -=
-image-path=3D"$IMAGEPATH" --doc-cache-file=3D"$DOCFILE" --info-file=3D"$IN=
FOFILE" "$@"




      5 [main] sh 3964 C:\cygwin2\bin\sh.exe: *** fatal error - error while=
 loading shared libraries: /pub/cygports/octave/octave-3.2.0-rc4_build/src/=
cygoctinterp.dll: cannot open shared object file: No such process

Regards
Marco





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