delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/02/21:14:48

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
Date: Thu, 2 Jun 2005 21:14:29 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: dlopen does not search the path
Message-ID: <20050603011429.GB10867@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <7231C15EAC2F164CA6DC326D97493C8BA1BD11 AT exchange35 DOT fed DOT cclrc DOT ac DOT uk>
Mime-Version: 1.0
In-Reply-To: <7231C15EAC2F164CA6DC326D97493C8BA1BD11@exchange35.fed.cclrc.ac.uk>
User-Agent: Mutt/1.5.8i

On Fri, Jun 03, 2005 at 12:33:55AM +0100, Adye, TJ (Tim) wrote:
>Hi,
>
>On 26 May 2005, Christopher Faylor wrote:
>
>> I've made a new version of the Cygwin DLL and associated utilities
>> available for download.  As usual, a list of what has changed 
>> is below.
>> [...]
>
>> cgf: Make dlopen search /usr/bin (for Windows compatibility) 
>> and /usr/lib (for UNIX compatibility).
>
>The change seems to be a bit more drastic than that implies to me. I
>believe that previously dlopen searched $PATH before, but it doesn't any
>more.
>
>I have a Cygwin program that loads a Windows DLL (afsauthent.dll) that
>it used to find via the $PATH (found in C:\Program Files\OpenAFS\Common,
>which OpenAFS adds to the Windows PATH, and is inherited by Cygwin).
>That stopped working recently (Win32 error 126), probably when I updated
>to cygwin-1.5.17-1 (I can check if this is in any doubt).
>
>I can get it working again if I add /cygdrive/c/Program
>Files/OpenAFS/Common to $LD_LIBRARY_PATH by hand.
>
>Is this change deliberate? I would have thought that "Windows
>compatibility" ought to include searching the PATH.

It was not deliberate and, in fact, the change in behavior had nothing
to do with the change to make dlopen search /usr/bin and /usr/lib.  It
was, however, another change of mine so I still have to take the blame.

I've checked in a fix.  It will be in the next snapshot.

cgf


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019