how to set tcl to execute dll file

Questions about Wine on Linux
Post Reply
tomerhek
Newbie
Newbie
Posts: 2
Joined: Mon Nov 04, 2019 10:57 am

how to set tcl to execute dll file

Post by tomerhek » Mon Nov 04, 2019 11:24 am

(Just started to learn about Wine and kinda new to Linux os, hope I am asking at the right place)

I have a tcl script that I need to run in ubuntu 19.4.
The script was written for windows and it works well there.
The script run some dll files using this commands:

Code: Select all

load /path-to-file/tclstruc.dll struct
load /path-to-file/tclet100.dll tclet1000
When I run the script in ubuntu I receive this error on those lines:
couldn't load file "/path-to-file/tclstruc.dll" invalid ELF header while executing
I read that Wine can run dll files in ubuntu, but how I make it work from the tcl script?
I did install an exe file using wine and it worked great, but the tcl script does not suppose to run with "wine" command, I run it with:

Code: Select all

tclsh /path-to-script/script.tcl
Will appreciate any help or direction!

tomerhek
Newbie
Newbie
Posts: 2
Joined: Mon Nov 04, 2019 10:57 am

Re: how to set tcl to execute dll file

Post by tomerhek » Wed Nov 06, 2019 7:12 am

I managed to fix my problem.
Needed to install tcl via wine too.

Post Reply