Clovertech
› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Upgrading Sqlite
Cloverleaf 5.6 on Solaris 10
I had Sqlite version 3.5.9 working but wanted to upgrade to the latest version 3.6.4. I deleted the old version (libsqlite3.5.9.so) from $HCIROOT/tclprocs and replaced it with libsqlite3.6.4.so.
In hcitcl I ran pkg_mkIndex
If you look at your pkgIndex.tcl file you will probably see a line like:
package ifneeded sqlite3 3.6.0 ………..
You can do of two things
1. change the sqlite3 to just sqlite
2. Copy and paste the line and change the new one to sqlite
Then if you do package require on sqqlite or sqlite3 it should load the correct one
I only have 2 entries in the pkgIndex.tcl file:
package ifneeded sqlite 3.6.4
]
package ifneeded sqlite3 3.6.4
I removed the second line and it now works ok.
Many thanks