> This is on a fresh 10.6 Snow Leopard install of Mac OS X. I'm using
> this to generate the tclkit:
> ./kbs.tcl -r -mk-cli install kbskit8.5
> I've tried many different options and all have the same effect with
> sqlite3.
> After running the interpreter, trying to load and use tclsqlite3
> (version 3.6.12, installed by default on Mac OS 10.6) causes a
> segmentation fault:
> % info patchlevel
> 8.5.11
> % load /System/Library/Tcl/sqlite3/libtclsqlite3.dylib
> % sqlite3
> alloc: invalid block: 0x1001329f8: 0 0
> Abort trap
> Running the default Mac installation of Tcl and loading sqlite3 works
> fine:
> pw:~: tclsh
> % info patchlevel
> 8.5.7
> % load /System/Library/Tcl/sqlite3/libtclsqlite3.dylib
> % sqlite3
> wrong # args: should be "sqlite3 HANDLE FILENAME ?-vfs VFSNAME? ?-
> readonly BOOLEAN? ?-create BOOLEAN? ?-nomutex BOOLEAN? ?-fullmutex
> BOOLEAN?"
> What am I missing?
While I still have no idea of the cause of this, I have found a