delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Eric Lilja <mindcooler AT gmail DOT com> |
Subject: | Re: Make program find its dll:s |
Date: | Tue, 18 Nov 2008 13:05:02 +0100 |
Lines: | 28 |
Message-ID: | <gfub1e$bg4$1@ger.gmane.org> |
References: | <gfu7qd$v3$1 AT ger DOT gmane DOT org> <20081118112012 DOT GB26249 AT tomas> <gfu93e$560$1 AT ger DOT gmane DOT org> <20081118124859 DOT zfzlhv3wisw4sg88 AT webmail DOT df DOT eu> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
In-Reply-To: | <20081118124859.zfzlhv3wisw4sg88@webmail.df.eu> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
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 variable in the command line like this: > > LD_LIBRARY_PATH=/path/to/dll-files foo > > assuming that "foo" is the command to start the app which requires the dll. > > regards, > Markus > Thanks Markus, this was very useful information which I will benefit from from now on! Unfortunately, it didn't actually help the process to find the DLL files but doing: $ PATH=$PATH:/path/to/myDLLS foo does work. I guess LD_LIBRARY_PATH cannot be used for what I was trying to do. Oh, btw, to those who mail me copies of mails sent to the list. It's not necessary, I'm interacting with the list through gmane, set-up as a newsgroup under my email-client. :) - 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |