www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Message-ID: | <20050530085023.73565.qmail@web31714.mail.mud.yahoo.com> |
Date: | Mon, 30 May 2005 01:50:23 -0700 (PDT) |
From: | Sunil <funtoos AT yahoo DOT com> |
Subject: | Re: dlopen doesn't use LD_LIBRARY_PATH ( was dlopen and cygcheck inconsistency) |
To: | cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
I am not sure why the last email didn't reach the list, but here goes again. this issue is still un-resolved. Contrary to what cgf says, dlopen doesn't care about LD_LIBRARY_PATH while opening dependent DLLs of its argument. It opens the DLL if the depedent DLLs are found in the $PATH. I think cgf meant if I do dlopen("c.dll",..) it will try to find it in LD_LIBRARY_PATH (plus /usr/lib from 1.5.17). what happens in this case: dlopen("/a/b/c.dll",...) and c.dll depends on /a/b/d.dll. This dlopen of c.dll fails if /a/b is not in PATH, although it is in LD_LIBRARY_PATH. I don't think this is linux behaviour. Thanks, -Sunil __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- 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 |