This is the mail archive of the
mailing list for the Cygwin project.
TCLTK:Re: couldn't load library "../libitcl32.a":invalid argument ...
- From: Christian Montanari <c dot montanari at ste dot sharp-eu dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 12 Mar 2004 17:08:43 +0000
- Subject: TCLTK:Re: couldn't load library "../libitcl32.a":invalid argument ...
- References: <20040310092221.GB1540@ste.sharp-eu.com>
- Reply-to: c dot montanari at ste dot sharp-eu dot com
On Wed, Mar 10, 2004 at 09:22:21AM +0000, Christian Montanari wrote:
> 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@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.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html