X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Eric Lilja Subject: Re: Make program find its dll:s Date: Tue, 18 Nov 2008 13:05:02 +0100 Lines: 28 Message-ID: References: <20081118112012 DOT GB26249 AT tomas> <20081118124859 DOT zfzlhv3wisw4sg88 AT webmail DOT df DOT eu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/