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: Marco Atzeri <marco_atzeri at yahoo dot it>
- To: cygwin at cygwin dot com, Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Date: Sat, 30 May 2009 04:55:12 +0000 (GMT)
- Subject: Re: R: [1.7] does LD_PRELOAD support more than 1 dll ?
--- Sab 30/5/09, Dave Korn ha scritto:
> Da: Dave Korn
> Oggetto: Re: R: [1.7] does LD_PRELOAD support more than 1 dll ?
> A: cygwin@cygwin.com
> Data: Sabato 30 maggio 2009, 03:07
> Marco Atzeri wrote:
>
> > May I suggest a small note in the documentation ?
> > Just to help the next one to not fall in the same
> problem.
> > :-)
>
> ? PTC and all that... if you want a hand with the
> English grammar/spelling,
> ask me offlist.
>
> > so it seems that the LD_PRELOAD is not working well
> > in case of fork.
>
> ? Did you export it?? That might make a
> difference if the shell is involved.
>
> ? ? cheers,
> ? ? ? DaveK
>
Hi Dave,
also exporting all the 3 variables in the script
does make no difference
export PATH="$builddir/src:$builddir/liboctave:$builddir/libcruft:$PATH"
export LD_PRELOAD="$liboctinterp:$liboctave:$libcruft"
export LD_LIBRARY_PATH="$builddir/src:$builddir/liboctave:$builddir/libcruft:$LD_LIBRARY_PATH"
OCTAVE_SITE_INITFILE="$top_srcdir/scripts/startup/main-rcfile" \
exec $driver "$builddir/src/octave" --no-init-path --path="$LOADPATH" --image-path="$IMAGEPATH" --doc-cache-file="$DOCFILE" --info-file="$INFOFILE" "$@"
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/