Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Tkx not installing properly

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


in reply to Tkx not installing properly

Hi,

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 XSLoader.pm 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 DynaLoader.pm. # 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 ?

Cheers,
Rob

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.

      correct
      BTW I experienced some another problem on Windows 7 with 32bit ActiveTcl, so it took me some effort but then I switched to http://www.bawt.tcl3d.org/download.html#tclbi 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 http://wiki.tcl-lang.org/page/BAWT, 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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-23 06:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found