Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-06-27
06:51 • New ticket [3021922fff] Error loading statically built bundled packages ITcl &am... artifact: 5568dc108a user: glawlor

Error loading statically built bundled packages ITcl & tdbc

Open3021922fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2010-06-27 06:51:40
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"
Log in (anonymous is fine) to add a comment.