Another "Can't find libX11.dll" problem
Tue Apr 8 18:06:00 GMT 2003
David Williams wrote:
> "C:\Program Files\cygwin\usr\X11R6\bin\XWin.exe" -query <IP of Debian
> 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).
http://www.gotti.org ICQ: 126018723
More information about the Cygwin-xfree