wiki:Docs/825gen2/Dev/Database/SQLite

Version 8 (modified by Don Wilson, 10 months ago) ( diff )

--

SQLite3

Apps may be compiled with SQLite library linked statically as previous 825 apps were.

The SQLite library module is also provided in the 825gen2 /usr/lib directory. This allows applications to link to SQLite dynamically. This is the preferred way for new applications to use SQLite.

card825gen2:~$ ls -l /usr/lib/libsql*
lrwxrwxrwx 1 root root      19 Mar  9  2018 /usr/lib/libsqlite3.so.0 -> libsqlite3.so.0.8.6
-rwxr-xr-x 1 root root 1155088 Mar  9  2018 /usr/lib/libsqlite3.so.0.8.6

A new library lib825sql is provided that provides only the C++ wrapper functions provided in the previously used static libraries libsql or libsql3_7_9. This library is recommended for new apps that use the C++ wrapper code. This will allow the more up-to-date shared libsqlite3.so code to be used in the app.

Note: See TracWiki for help on using the wiki.