tclsh% package require XYZ
"D:/devtools/Tcl8.6.10(64)/lib/AddonsX/XYZ/xyz.tcl": Bad exe format. Possibly a 32/64-bit mismatch.
%
Are you sure that it says "xyz.tcl" and not "xyz.dll"? If the former, it
is an error in the package - if you try to do "load xyz.tcl" this must
fail. If, however, it does "load xyz.dll", then the most likely reason
is the one given in the message - you are running a 32 bit tclsh and try
to load a 64 bit extension or vice versa. There are other possibilities,
but they are less likely (like trying to load a Linux package under
Windows etc.)
Hello out there,
for a while I have been receiving error messages like the above. I was
able to reduce the scenario to a tiny package which lead to this
result:
tclsh% package require XYZ
couldn't load library
"D:/devtools/Tcl8.6.10(64)/lib/AddonsX/XYZ/xyz.tcl": Bad exe format.
Possibly a 32/64-bit mismatch.
%
Hello out there,
for a while I have been receiving error messages like the above. I was
able to reduce the scenario to a tiny package which lead to this
result:
tclsh% package require XYZ
couldn't load library
"D:/devtools/Tcl8.6.10(64)/lib/AddonsX/XYZ/xyz.tcl": Bad exe format.
Possibly a 32/64-bit mismatch.
%
I blieve this error merits a ticket - however I have completetly
forgotten where and how this is done.
If someone could refresh my memory this would be helpful. Thanks
Helmut
Hello out there,
for a while I have been receiving error messages like the above. I was
able to reduce the scenario to a tiny package which lead to this
result:
tclsh% package require XYZ
couldn't load library
"D:/devtools/Tcl8.6.10(64)/lib/AddonsX/XYZ/xyz.tcl": Bad exe format.
Possibly a 32/64-bit mismatch.
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 714 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 140:35:01 |
| Calls: | 12,087 |
| Files: | 14,998 |
| Messages: | 6,517,424 |