Upgrade SQLite3 binding version?

How are you installing the updated sqlite3 package?

$ crystal build --verbose ... should show you the link command used. That will probably reveal the paths where the libsqlite3 is looked at.

You can try either:

  • remove the old package or,
  • tweak the LIBRARY_PATH to include the expected library location
  • tweak the CRYSTAL_LIBRARY_PATH to include the expected library location
  • change the crystal-sqlite3 shard to allow pkg_config config lookup (and setup the PKG_CONFIG_PATH variable to include the location of the .pc file)
3 Likes