Skip to content

Why ".load libsqlite3mc.so" throwing "undefined symbol: sqlite3_sqlitemc_init" error? #193

Answered by utelle
jcsxdev asked this question in Q&A
Discussion options

You must be logged in to vote

After building the libsqlite3mc.so lib, SQLite .load command produces the following error:

Error: ./.libs/libsqlite3mc.so: undefined symbol: sqlite3_sqlitemc_init

Am I doing something wrong?

Yes, you can't .load SQLite3 Multiple Ciphers, because it is not a loadable SQLite extension. It is a replacement for the SQLite library with added encryption support.

If you want to use a SQLite shell with encryption support, you have to build it yourself by compiling the SQLite shell source code and linking it to the SQLite3 Multiple Ciphers library.

2.1. Build process results

[...]

  CC       src/sqlite3shell-sqlite3mc.o
  CC       src/sqlite3shell-shell.o
  CCLD     sqlite3shell
  CC       sr…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jcsxdev
Comment options

Answer selected by jcsxdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants