This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Another "Can't find libX11.dll" problem
- From: Alexander Gottwald <Alexander dot Gottwald at s1999 dot tu-chemnitz dot de>
- To: CygWin-XFree Mailing List <cygwin-xfree at cygwin dot com>
- Date: Tue, 8 Apr 2003 20:06:31 +0200 (MEST)
- Subject: Re: Another "Can't find libX11.dll" problem
- Reply-to: cygwin-xfree at cygwin dot com
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