Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Tkx not installing properly

by syphilis (Bishop)
on May 13, 2019 at 01:25 UTC ( #1233677=note: print w/replies, xml ) Need Help??

in reply to Tkx not installing properly


I believe the failure is happening in the XSLoader::dl_load_file() call.
If C:/ActiveTcl/bin/tcl86t.dll exists, then I'd be thinking it's not a valid dll.
Perhaps it's a 32-bit dll when a 64-bit dll is required (or vice-versa) ?

It's also worth reading the comments in relating to dl_load_file failures:
# Many dynamic extension loading problems will appear to come from # this section of code: XYZ failed at line 123 of # Often these errors are actually occurring in the initialisation # C code of the extension XS file. Perl reports the error as being # in this perl code simply because this was the last perl code # it executed. my $libref = dl_load_file($file, 0) or do { require Carp; Carp::croak("Can't load '$file' for module $module: " . dl_error()); };
What's your perl -V output ?


Replies are listed 'Best First'.
Re^2: Tkx not installing properly
by chrstphrchvz (Scribe) on May 13, 2019 at 04:45 UTC

    The available releases of ActiveTcl 8.6 Community Edition for Windows are all 64-bit, while DWIM Perl for Windows is 32-bit. So I think you're right that this issue is due to a bitness mismatch, and a 64-bit Perl distribution (e.g. Strawberry or ActivePerl) would be needed instead.

      BTW I experienced some another problem on Windows 7 with 32bit ActiveTcl, so it took me some effort but then I switched to which then solved all my problems, there are 32 and 64 bit versions, with lots of modules included

      I found this binary while searching in Tclers wiki at, which is also recommended resource for seekers of perl/Tk wisdom :)

      Going to write about this to Jeff Hobbs, who should be aware of such problems in ActiveTCL

      regards, Vadim

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1233677]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2020-10-24 02:56 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (242 votes). Check out past polls.