delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/12/12:08:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <c DOT montanari AT ste DOT sharp-eu DOT com>
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 <c DOT montanari AT ste DOT sharp-eu DOT com>, cygwin AT cygwin DOT com
References: <20040310092221 DOT GB1540 AT ste DOT sharp-eu DOT com>
Mime-Version: 1.0
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 (!<arch>),
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019