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_PATHto include the expected library location - tweak the
CRYSTAL_LIBRARY_PATHto include the expected library location - change the crystal-sqlite3 shard to allow pkg_config config lookup (and setup the
PKG_CONFIG_PATHvariable to include the location of the .pc file)