can't find package tbcload 1.6

Posted by iamfrank_lo on 2011-09-25 08:00

Hi~ There,
I am stuck, could you please help??

Many thanks!!

[root@localhost bin]# uname -an
Linux localhost.localdomain #1 SMP Mon Oct 18 23:56:17 UTC 2010 i686 i686 i386 GNU/Linux

[root@localhost bin]# ./teacup update-self
Updating /root/src/tcl/ActiveTcl-8.5/bin/teacup ...
Found newer version (linux-glibc2.3-ix86) @

Retrieving application teacup linux-glibc2.3-ix86 ...@ ... Ok
Copying ...

[root@localhost bin]# ./teacup update
Retrieving package ftp 2.4.11 tcl ...@ ... Ok
Retrieving package sqlite3 3.7.8 linux-glibc2.3-ix86 ...@ ... Ok
Installed 8 newer packages
Installed 567 unknown packages

[root@localhost code]# /root/src/TclDevKit-5.2/bin/tclapp -prefix /root/src/tcl/ActiveTcl-8.5/bin/base-tk8.5-thread-linux-ix86 -compile -compilefor 8.5 -out tclapp-out -architecture tcl -notbcload main.tcl
info | Tcl Dev Kit TclApp
info | Copyright (C) 2001-2011 ActiveState Software Inc. All rights reserved.
info | Licensed to Trial User (Trial license, serial number *2180141249*).
info |
info | Embedding license information into wrap result as comments.
info |
info | Expires: 15-10-2011.
info |
info | WARNING: All applications generated by this trial version
info | will also stop working on 15-10-2011.
info Expanding...
info Following only profile dependencies
info Issues...
notice Packages ...
notice * No packages
info Inserting TEApot metadata
info Nothing to insert
notice Extending the list of provided packages
info F* 160KiB /root/code/main.tcl
info Generated tclapp-out

[root@localhost code]# ./tclapp-out
/root/code/tclapp-out/lib/application/main.tcl: The TclPro ByteCode Loader is not available or does not support the correct version -- can't find package tbcload 1.6
while executing
"source $startup"
(file "/root/code/tclapp-out/main.tcl" line 52) | Mon, 2011-09-26 01:44

Not sure, since I am not using a free evaluation license, but I suspect this from message:

> info | WARNING: All applications generated by this trial version
> info | will also stop working on 15-10-2011.

This means there's a piece of code added into the application that checks for date. It would be too easy to workaround if this code was left unobscured. Thus I think the tbcloader is required for this particular reason.

Can someone confirm ?


iamfrank_lo | Mon, 2011-09-26 19:03

Hi~ Aldric,
Thanks for the reply, I'd tried to take off "-notbcload" and got error message.


/root/src/TclDevKit-5.2/bin/tclapp -prefix /root/src/tcl/ActiveTcl-8.5/bin/base-tk8.5-thread-linux-ix86 -compile -compilefor 8.5 -out tclapp-out -architecture tcl main.tcl

info Issues...
error package 'tbcload -is redirect' is not known (Specified, Not recoverable)
error Aborting

ActiveState Staff
Fri, 2011-11-18 10:30

Your application is looking for an older version of tbcload than is supplied with ActiveTcl 8.5. Tbcload 1.6 is a version which would have been necessary with Tcl 8.4.

Do a code review. One way this can happen with older code is leaving in a
package require exact tbcload 1.6

If you are updating your Tcl, you should also try to update your TDK. TDK 5.3 is available, and any 5.x user can update free of charge.