Yaakov,

Thank you for getting back with me so quickly.

1) I am running as "root"/"Administrator".  I changed the name of Administrator to root.  I don't think it is a permission or access problem.
2) Perhaps it is a library dependence problem?

bash-3.2$ ls -l /usr/lib/ruby/site_ruby/1.8/i386-cygwin/gtk2.so
-rwxr-x---+ 1 root Users 794112 Dec 18  2008 /usr/lib/ruby/site_ruby/1.8/i386-cygwin/gtk2.so

bash-3.2$ cygcheck /usr/lib/ruby/site_ruby/1.8/i386-cygwin/gtk2.so
C:\cygwin/lib\ruby/site_ruby/1.8/i386-cygwin/gtk2.so
  C:\cygwin\bin\cygX11-6.dll
    C:\cygwin\bin\cygwin1.dll
      C:\WINDOWS\system32\ADVAPI32.DLL
        C:\WINDOWS\system32\KERNEL32.dll
          C:\WINDOWS\system32\ntdll.dll
        C:\WINDOWS\system32\RPCRT4.dll
          C:\WINDOWS\system32\Secur32.dll
    C:\cygwin\bin\cygxcb-xlib-0.dll
      C:\cygwin\bin\cygxcb-1.dll
        C:\cygwin\bin\cygXau-6.dll
        C:\cygwin\bin\cygXdmcp-6.dll
  C:\cygwin\bin\cygcairo-2.dll
    C:\cygwin\bin\cygXrender-1.dll
    C:\cygwin\bin\cygfontconfig-1.dll
      C:\cygwin\bin\cygexpat-1.dll
      C:\cygwin\bin\cygfreetype-6.dll
        C:\cygwin\bin\cygz.dll
      C:\cygwin\bin\cygiconv-2.dll
    C:\cygwin\bin\cygglitz-1.dll
    C:\cygwin\bin\cygpixman-1-0.dll
    C:\cygwin\bin\cygpng12.dll
    C:\cygwin\bin\cygxcb-render-util-0.dll
      C:\cygwin\bin\cygxcb-render-0.dll
  C:\cygwin\bin\cyggdk-x11-2.0-0.dll
    C:\cygwin\bin\cyggdk_pixbuf-2.0-0.dll
      C:\cygwin\bin\cyggio-2.0-0.dll
        C:\cygwin\bin\cygglib-2.0-0.dll
          C:\cygwin\bin\cygintl-8.dll
          C:\cygwin\bin\cygpcre-0.dll
        C:\cygwin\bin\cyggmodule-2.0-0.dll
        C:\cygwin\bin\cyggobject-2.0-0.dll
Error: could not find cygXcomposite-1.dll
    C:\cygwin\bin\cygXcursor-1.dll
      C:\cygwin\bin\cygXfixes-3.dll
Error: could not find cygXdamage-1.dll
    C:\cygwin\bin\cygXext-6.dll
    C:\cygwin\bin\cygXi-6.dll
Error: could not find cygXinerama-1.dll
    C:\cygwin\bin\cygXrandr-2.dll
    C:\cygwin\bin\cygpango-1.0-0.dll
    C:\cygwin\bin\cygpangocairo-1.0-0.dll
      C:\cygwin\bin\cygpangoft2-1.0-0.dll
  C:\cygwin\bin\cyggthread-2.0-0.dll
  C:\cygwin\bin\cyggtk-x11-2.0-0.dll
    C:\cygwin\bin\cygatk-1.0-0.dll
  C:\cygwin\bin\cygruby18.dll
    C:\cygwin\bin\cygcrypt-0.dll
    C:\WINDOWS\system32\USER32.dll
      C:\WINDOWS\system32\GDI32.dll
  C:\cygwin/lib\ruby/site_ruby/1.8/i386-cygwin\cairo.so
  C:\cygwin/lib\ruby/site_ruby/1.8/i386-cygwin\glib2.so
  C:\cygwin/lib\ruby/site_ruby/1.8/i386-cygwin\pango.so

3) It looks like I have cygwin 1.5.25-15 installed.  When I go to ftp://sourceware.org/pub/cygwinports I do not see an option to download cygwin.  There is not even a "base" group shown.  The "Full" view shows cygwin in the "Misc" group and the size as "?".  This does not look right to me.
$ cygcheck -c cygwin
Cygwin Package Information
Package              Version        Status
cygwin               1.5.25-15      OK

Do you have any more suggestions?

Thanks!,
   Michael

On Tue, Oct 27, 2009 at 10:17 PM, Yaakov (Cygwin/X) <yselkowitz@users.sourceforge.net> wrote:
On 27/10/2009 23:56, Michael Schuh wrote:
> The .so file is in the right place.
>
> bash-3.2$ ls -l /usr/lib/ruby/site_ruby/1.8/i386-cygwin/gtk2.so
> -rwxr-x---+ 1 root Users 794112 Dec 18  2008
> /usr/lib/ruby/site_ruby/1.8/i386-cygwin/gtk2.so
>
> Does anyone have any ideas on how I might fix this?

1) You're not in the Users group, so you have no execute permissions, or

2) you're missing a DLL, which cygcheck /path/to/gtk2.so will show you
easily, or

3) you're using Cygwin 1.5 and don't have the correct version of the C
gtk2.0 library installed.  You must use Ports' version, which is newer
than that currently in the 1.5 distro.

If it is none of the above, we'll need to see your "cygcheck -srv"
output as a *plain-text attachment*.


Yaakov
Cygwin Ports

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Cygwin-ports-general mailing list
Cygwin-ports-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general