Tcl Source Code

View Ticket
Login
Ticket UUID: 3378439
Title: Cannot load tdbc::odbc
Type: Bug Created on: 2011-07-26 11:18:53
Submitter: sgeard Assigned to: kennykb
Subsystem: 69. Other Severity:
Priority: 5 Medium Last modified: 2026-10-22 17:19:32
Status: Closed Closed by: serhiy.storchaka
Resolution: Fixed Closed on: 2026-10-21 10:03:39
Version: obsolete: 8.6b1.1
Description:
I'm trying to connect to odbc but get the following (WinXP):

$ tclsh86
% info patchlevel
8.6b1.2
% package require tdbc
1.0b16
% package require tdbc::odbc
Error loading TclOO package; package not present or incomplete

Since TclOO is part of 8.6 I guess the package doesn't exist and so the attempt to load it should be removed, but there might be more to it than that!
User Comments:
dkf added on 2011-07-26 19:15:48:
That's odd. 8.6 should be exposing the TclOO package (which should do nothing; it's just a dummy because the functionality's built in).

serhiy.storchaka added on 2026-10-21 10:03:39:

Fixed in 8.6b2 by [b90f247299]: Tcl now registers a dummy package ifneeded TclOO, so the built-in TclOO is found by every package mechanism and tdbc::odbc no longer fails with "Error loading TclOO package".