Tcl Source Code

View Ticket
Login
Ticket UUID: 3021922
Title: Error loading statically built bundled packages ITcl & tdbc
Type: Bug Created on: 2010-06-27 06:51:40
Submitter: glawlor Assigned to: nobody
Subsystem: 81. Bundled Packages Severity:
Priority: 5 Medium Last modified: 2010-06-27 06:51:40
Status: Open Closed by:
Resolution: None Closed on:
Version: obsolete: 8.6b1.1
Description:
Tcl cvs head
MS Vista sp2
MS VC++ 2010

Building tcl with OPTS=static,staticpkg,threads creates static libs for the bundled package Itcl and tdbc. When tcl is installed these package are loaded as if they were dynamic/shared libs.

To resolve the problem either:
- bundled packages could obey the staticpkg option and be statically linked into the interpreter
- build the bundled packages as shared libs even for static builds.

Itcl gets installed into C:\Program Files\tcl\lib\lib\itcl4.0\ - which isn't found on "package require Itcl"