TCLTK:Re: couldn't load library "../libitcl32.a":invalid argument ...

Christian Montanari
Fri Mar 12 18:43:00 GMT 2004

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@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.

Christian Montanari.

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list