Updated: cygwin-1.5.17-1

Adye, TJ (Tim) T.J.Adye@rl.ac.uk
Fri Jun 3 09:26:00 GMT 2005


OK, I downgraded to cygwin 1.5.16-1 and the problem went away. I made a
small test program, dltest (attached), that does a
dlopen(file,RTLD_LAZY). The following shows that PATH was searched with
1.5.16-1, but not in 1.5.17-1.

cygwin 1.5.16-1:-

% export PATH="/usr/bin"
% ./dltest afsauthent.dll
error opening afsauthent.dll: dlopen, Win32 error 126
% export PATH="/usr/bin:/cygdrive/c/Program Files/OpenAFS/Common"
% ./dltest afsauthent.dll
opened afsauthent.dll

cygwin 1.5.17-1:-

% export PATH="/usr/bin:/cygdrive/c/Program Files/OpenAFS/Common"
% ./dltest afsauthent.dll
error opening afsauthent.dll: dlopen, Win32 error 126
% type afsauthent.dll    # just to be sure it's there
afsauthent.dll is /cygdrive/c/Program
Files/OpenAFS/Common/afsauthent.dll
% export LD_LIBRARY_PATH="/cygdrive/c/Program Files/OpenAFS/Common"
% ./dltest afsauthent.dll
opened afsauthent.dll 

Tim.

> -----Original Message-----
> From: Larry Hall
> Sent: 03 June 2005 01:05
> To: Adye, TJ (Tim); The Cygwin Mailing List
> Subject: RE: Updated: cygwin-1.5.17-1
> 
> At 07:33 PM 6/2/2005, you 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).
> 
> 
> Yes, please do and report back.
> 
> 
> --
> Larry Hall                              http://www.rfk.com
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 838 Washington Street                   (508) 893-9889 - FAX
> Holliston, MA 01746                     
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dltest.c
Type: application/octet-stream
Size: 402 bytes
Desc: dltest.c
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050603/c4be9001/attachment.obj>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list