Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 12 Mar 2004 17:08:43 +0000 From: Christian Montanari To: cygwin AT cygwin DOT com Subject: TCLTK:Re: couldn't load library "../libitcl32.a":invalid argument ... Message-ID: <20040312170843.GA2096@ste.sharp-eu.com> Mail-Followup-To: Christian Montanari , cygwin AT cygwin DOT com References: <20040310092221 DOT GB1540 AT ste DOT sharp-eu DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040310092221.GB1540@ste.sharp-eu.com> User-Agent: Mutt/1.4.1i X-Spam-Processed: ste.sharp-eu.com, Fri, 12 Mar 2004 17:09:35 +0000 (not processed: spam filter disabled) X-MDRemoteIP: 172.31.91.245 X-Return-Path: c DOT montanari AT ste DOT sharp-eu DOT com X-MDaemon-Deliver-To: cygwin AT cygwin DOT com Reply-To: c DOT montanari AT ste DOT sharp-eu DOT com X-IsSubscribed: yes Note-from-DJ: This may be spam On Wed, Mar 10, 2004 at 09:22:21AM +0000, Christian Montanari wrote: > Hi, > Any updates on this issue on package tcltk-20030901-1 ? > Redhat stuff seems to work better (ie. like with the "snavigator" package). > what is the difference with this installation ? replying to my own-self, to whom it concerns... I carried a little research and I have found a few calls for this long running problem with package "tcltk-20030901-1" and earliers. Back in March 2003 there was an answer on GMANE.CYGWYN.DEBUG.INSIGHT, but not really making sense to me. I then debugged wish84g.exe, and found that libitcl32.a is an archives (!), therefore can not be loaded as DLL using "TclpDlopen,LoadLibraryW AT 4" (found in tclload.c), then it come to light that the tcltk package must be constructed with: ./configure --enable-shared --enable-load; make all install and finally a little: cd /usr/local/lib; ln -s ../bin/*.dll . It did the trick: now I can use iwidget, itcl, and others... I am sure someone, somewhere knew it before me (sigh). I do not know how to update packages or submit patches, so, I leave the info there. Chao, Christian Montanari. -- 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/