in reply to Install module Tcl Strawberryperl

It seems your errors are in the linking. See your "mostly harmless" warning - it actually is pretty harmful. You need libtcl86.a to be found somewhere on your system. Assuming it's not there, you can create it from tcl86.dll which I'm assuming must be there somewhere in your Tcl install directory. Example code below assumes it's in C:\ActiveTcl\bin\tcl86.dll

cd C:\ActiveTcl\bin pexports tcl86.dll > tcl86.def dlltool --as-flags=--64 -m i386:x86-64 -k --output-lib libtcl86.a --in +put-def tcl86.def


perl Makefile.PL "LIBS=-LC:/ActiveTcl/bin -ltcl86" dmake

Replies are listed 'Best First'.
Re^2: Install module Tcl Strawberryperl
by Anonymous Monk on May 14, 2018 at 19:25 UTC


    ActiveTcl comes with a .lib


    And  strawberry-perl- finds it no problem using ExtUtils::MakeMaker version 7.10 and 7.34 (latest).

    ... g++.exe -o blib\arch\auto\Tcl\Tcl.xs.dll -Wl,--base-file -Wl,dll.base +-mdll -s -L"C:\strawberry-perl-\perl\lib\CORE" -L"C:\strawberry-perl-\c\lib" Tcl.o "C:\strawberry-perl-\perl\lib\CORE\libperl520.a +" "C:\Tcl8.6\lib\tcl86.lib" ....

    I think OP should verify .lib file exists, then get latest ExtUtils::MakeMaker and try again


      My ActiveTcl installation has a tcl86t.lib (note the t). I'll need to first understand ExtUtils::MakeMaker as I do not know this module and I am not quite sure what do I have to do with it.


        Try calling  perl Makefile.PL -DTCL_LIB_FILE=tcl86t.lib

        While this is not an issue with ExtUtils::MakeMaker itself, still a good idea to keep it current

        This is a bug in VKON/Tcl-1.05/Makefile.PL , it is not retrieving TCL_LIB_FILE= value from C:/ActiveTcl/lib/ , which ought to be tcl86t.lib

        Maybe TCL_LIB_FILE value wasn't available before , but its available know. You should report this bug to VKON ( ) and reference this thread