This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Make program find its dll:s


tomas@tuxteam.de 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 [...]

The environment variable LD_LIBRARY_PATH is said to work in Cygwin as well. So setting it to a list of directories where to look for DLLs might do the trick. Dunno whether colon-separated (UNIXy) semi-colon separated (DOSy).

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 with strace so I am sure this is the problem, not something else. I guess I could temporarily modify the PATH but I'm interested in alternatives.



Regards - -- tomÃs

- Eric



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]