This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]