delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <20081118124859.zfzlhv3wisw4sg88@webmail.df.eu> |
Date: | Tue, 18 Nov 2008 12:48:59 +0100 |
From: | Markus Hoenicka <markus DOT hoenicka AT mhoenicka DOT de> |
To: | Eric Lilja <mindcooler AT gmail DOT com> |
Cc: | cygwin AT cygwin DOT com |
Subject: | Re: Make program find its dll:s |
References: | <gfu7qd$v3$1 AT ger DOT gmane DOT org> <20081118112012 DOT GB26249 AT tomas> <gfu93e$560$1 AT ger DOT gmane DOT org> |
In-Reply-To: | <gfu93e$560$1@ger.gmane.org> |
MIME-Version: | 1.0 |
User-Agent: | domainFACTORY |
X-Df-WSender: | 472582 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id mAIBnuuS021663 |
Quoting Eric Lilja <mindcooler AT gmail DOT com>: > 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. > 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 -- Markus Hoenicka markus DOT hoenicka AT cats DOT de (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de -- 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 |