[1.7] does LD_PRELOAD support more than 1 dll ?

Julio Costa costaju@gmail.com
Fri May 29 14:56:00 GMT 2009


On Fri, May 29, 2009 at 09:10, Marco Atzeri <marco_atzeri@yahoo.it> wrote:
>
> the outcome is:
>  $ LD_PRELOAD="/tmp/prova/cygjpeg-62.dll /tmp/prova/cygpng12.dll" sudoku
>      3 [main] bash 12924 C:\cygwin2\bin\bash.exe: *** fatal error - error while loading shared libraries: /tmp/prova/cygjpeg-62.dll /tmp/prova/cygpng12.dll: cannot open shared object file: No such file or directory
> Hangup
>
> while if I specify only 1 dll
> $ LD_PRELOAD="/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/



More information about the Cygwin mailing list