Unable to load Sqlite3

Posted by oleg.gudikov@sap.com on 2017-07-21 02:10

I issue the command

load C:\\Tcl\\lib\\sqlite-dll-win64-x64-3130000\\sqlite3.dll sqlite3

and get

cannot find symbol "Sqlite3_Init"

what obviously indicates that used ddl is not Tcl wrapper but C-library.
Is it intentionally put there or mistakenly?

I installed Tcl 8.6.4 using downloader https://www.activestate.com/activetcl/downloads/thank-you?dl=http://down...

grahams
ActiveState Staff
Fri, 2017-07-21 09:44

That dll is not from the installer you linked to.

8.6.4.1 uses sqlite38102.dll from lib/teapot/package/win32-x86_64/lib/sqlite33.8.10.2
which is newer and in a different place from yours.

I would suggest a clean re-install, manually removing anything that the uninstaller can't remove.

oleg.gudikov@sap.com | Sun, 2017-07-23 23:29

And it is strange because I tried sqlite38102.dll too and it failed in the same way as sqlite3.dll
Tadaism in action. That case when to force car to move you have just get out of it and get in back :)
Ok. Thank you anyway.