Re: Make program find its dll:s

2008-11-18 Thread Christopher Faylor
On Tue, Nov 18, 2008 at 01:11:55PM +0100, Markus Hoenicka wrote: > Quoting Eric Lilja <[EMAIL PROTECTED]>: > >> does work. I guess LD_LIBRARY_PATH cannot be used for what I was trying >> to do. > > Now, this indeed *is* Cygwin-specific :-) No, it's actually Windows specific. LD_LIBRARY_PATH only

Re: Make program find its dll:s

2008-11-18 Thread Markus Hoenicka
Quoting Eric Lilja <[EMAIL PROTECTED]>: does work. I guess LD_LIBRARY_PATH cannot be used for what I was trying to do. Now, this indeed *is* Cygwin-specific :-) Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.

Re: Make program find its dll:s

2008-11-18 Thread Eric Lilja
Markus Hoenicka wrote: Although this is nothing specific to Cygwin: If you want to make the variable value available to processes which are executed subsequently, you need to export the variable, not just set it, as in: export LD_LIBRARY_PATH=/path/to/dll-files Alternatively, set the variab

Re: Make program find its dll:s

2008-11-18 Thread Markus Hoenicka
Quoting Eric Lilja <[EMAIL PROTECTED]>: Hi Tomás and thanks for the quick reply. I tried setting LD_LIBRARY_PATH using $ LD_LIBRARY_PATH=/path/to/dll-files (and then checking with $ echo LD_LIBRARY_PATH that it "stuck"), but the process still cannot find the DLL files. I am starting the process

Re: Make program find its dll:s

2008-11-18 Thread Eric Lilja
[EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Nov 18, 2008 at 12:10:02PM +0100, Eric Lilja wrote: [...] I'm now wondering if it's possible to tell a process launched from within a cygwin bash shell to "look in this directory as well for DLL files you might need

Re: Make program find its dll:s

2008-11-18 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Nov 18, 2008 at 12:10:02PM +0100, Eric Lilja wrote: > [...] I'm now wondering if it's possible to tell a > process launched from within a cygwin bash shell to "look in this directory > as well for DLL files you might need [...] The environme