Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 9 Oct 2003 18:48:59 +0200
From: "Gerrit P. Haase" <gerrit@familiehaase.de>
Reply-To: "Gerrit P. Haase" <gerrit@familiehaase.de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <189715004952.20031009184859@familiehaase.de>
To: Charles Plager <cplager+cygwin@physics.ucla.edu>
CC: cygwin@cygwin.com
Subject: Re: Perl Tk in Cygwin (using X)
In-Reply-To: <3F8589F4.1040908@physics.ucla.edu>
References: <3F846F0E.4070908@physics.ucla.edu>
 <20031009112428.12479.6@llama.ing-simmons.net>
 <3F857413.4090105@physics.ucla.edu>
 <Pine.GSO.4.56.0310091048180.15176@slinky.cs.nyu.edu>
 <3F85783F.8060304@physics.ucla.edu>
 <145711360682.20031009174815@familiehaase.de>
 <3F8589F4.1040908@physics.ucla.edu>
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit

Charles schrieb:

> Hi Gerrit,
>         Not quite there yet...

>         I went to '/usr/X11R6/bin'.  There is no file 'libX11.dll.a', but there
> is a 'libX11.dll', so I did 'ln -s libX11.dll libX11.a'.  I closed the
> window, opened a new bash session, and tried compiling.  I got the same
> error (below).

>         Did I pick the right directory?  Did I pick the right file?

No, look into /usr/X11R6/lib. we need the import libraries there and
don't link directly against the DLLs.  If you don't have the
importlibraries installed, do it at first.  libX11.dll.a and the others
are in the package XFree86-prog-4.3.0-7.

BTW, symlinks to DLLs are not working on Windows.

Gerrit
-- 
=^..^=


--
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/

