This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Another "Can't find libX11.dll" problem


David Williams wrote:

> 
> "C:\Program Files\cygwin\usr\X11R6\bin\XWin.exe" -query <IP of Debian
> system>
>  
> with the start path of:
> 
> "C:\Program Files\cygwin\bin"
> 
> I get a pop-up telling me that it cannot find "libX11.dll".
> 
> After clicking on "OK", I get my XDM login screen, and everything works
> perfectly.  I just can't figure out how to get rid of that error pop-up.

This is a path issue. 
A program searches dll in 
- directory where exe is located (a)
- current working dir (b)
- path (c)
- windows directories (d)

For XWin.exe this is ok. It finds its dlls in (a) and (b). But xwin runs
another program: /usr/X11R6/lib/X11/xkb/xkbcomp. And this program can't find
cygX11.dll in /usr/X11R6/lib/X11/xkb nor in /usr/bin. So you'll have to add
c:\Program Files\cygwin\usr\X11R6\bin to the default path (c).

bye
    ago
-- 
 Alexander dot Gottwald at informatik dot tu-chemnitz dot de 
 http://www.gotti.org           ICQ: 126018723


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]