Starkit causes suddenly ELF Header issue

Zbigniew Diaczyszyn <[email protected]> Mon, 29 Nov 2010 22:35:23 +0100
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
My application is suddenly causing a load error when it is compiled as a 
starkit on Linux and tries to perform:

package require <mypackage>

The catch command shows the following message:

couldn't load file "/tmp/tclEoKhjm": /tmp/tclEoKhjm: invalid ELF header

The tclkit version I am using (8.5.8) worked perfectly all the time and 
just creating a *.kit version works fine, too:

tclkit sdx.kit wrap gorilla.kit
166 updates applied
tclkit gorilla.kit

But when I try:

cp tclkit tclkit2
chmod a+x tclkit2
./tclkit sdx.kit wrap gorilla.bin -runtime tclkit2

I get this mysterious error, also when I tried to use the latest build from:

http://www.patthoyts.tk/tclkit/linux-ix86/8.5.9/tclkit-8.5.9.gz

The auto_path seems well:

PATH/gorilla.bin/lib/app-gorilla/tooltip

Producing starkits for the MacOSX shows no problems at all

./tclkit sdx.kit wrap gorilla.aqua -runtime tclkit-8.5.9-macosx-universal

I wonder why Tcl is trying to load "/tmp/tclEoKhjm" instead of the file 
indicated by pkgIndex.tcl?



-- 
You received this message because you are subscribed to the "starkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/starkit?hl=en