TomKane has asked for the wisdom of the Perl Monks concerning the following question:
I have been using sqlite on Win32 for some time now. I am now trying to use the sqlite3.dll file that is derived from the sqlcipher source code. This is a relatively new extension of SQLite that provides a pragma of "key" that lets you encrypt the entire database.
It took me a while, but I finally found the place for swapping out the dll file: C:/Perl/site/lib/auto/DBD/SQLite/SQLite.dll (where the new dll file was appropriately renamed). I have placed the new sqlite.dll and sqlite.lib files in the directory, but I do not have a sqlite.exp file, such as was provided in the original perl/sqlite installation.
Here is the very brief program that I used to test the new dll:
use DBI ; my $db_Handle = DBI->connect( "dbi:SQLite:sql_cipher_test.db", "", "", { AutoCommit => 1, } ) ;
The error message I'm getting is "Can't find 'boot_DBD__SQLite' symbol in" the dll file.
I have a bad feeling that I'm going to have to rebuild SQLite.pm or the .xs file, or both, or something else that's really scary, in order to get this to work.
If anyone has wisdom on the matters of linking perl to dll files (to sqlite.dll in particular), I would greatly appreciate your advice.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: sqlcipher for sqlite
by Corion (Patriarch) on Dec 28, 2012 at 21:42 UTC | |
Re: sqlcipher for sqlite
by roboticus (Chancellor) on Dec 28, 2012 at 18:39 UTC | |
Re: sqlcipher for sqlite
by TomKane (Beadle) on Dec 29, 2012 at 14:55 UTC |