Bug #3771
osmo-msc Debian package does not depend on libdbd-sqlite3
0%
Description
Therefore it fails to start up with:
<0009> db.c:621 Failed to create database connection to sqlite3 db 'sms.db'; Is the sqlite3 database driver for libdbi installed on this system? DB: Failed to init database: sms.db
Found this while fixing #3767.
Related issues
History
#2 Updated by pespin 23 days ago
I think it is expected that it's not installed by default, since the point of using libdbd there (anyway will be removed at some point afaik) is that you can use whatever backend you prefer, so you should not force installation of specific libdbd-sqlite3. The error message is detailed enough for users to understand the specific backend is missing.
I think we can close this issue.
#3 Updated by osmith 22 days ago
pespin wrote:
I think it is expected that it's not installed by default, since the point of using libdbd there (anyway will be removed at some point afaik) is that you can use whatever backend you prefer, so you should not force installation of specific libdbd-sqlite3.
I agree with you, that if it was possible to choose the backend, then we should not force installing libbd-sqlite3. However, looking at the code, sqlite3 is hardcoded. Users would need to patch db.c and recompile it to use another backend. So if the only possible way to use the binary package of osmo-msc is with libdbd-sqlite3 (as it is now), then it should be a dependency in my opinion.