nalgeon / sqlean

The ultimate set of SQLite extensions
MIT License
3.76k stars 120 forks source link

sqlite version compatibility #106

Closed axxName closed 10 months ago

axxName commented 10 months ago

According to src/sqlite3.h modules compiled for version:

define SQLITE_VERSION "3.44.2"

for older versions of SQLITE (in older linuxes) there is 'segmentation fault' when loading this modules Example:Oracle Linux Server 7.7 sqlite3 --version3.7.17 2013-05-20 00:56:22 118a3b35693b134d56ebd780123b7fd6f1497668 sqlite> .load ./statssqlite> select percentile(num,25) from test; Segmentation fault (core dumped)

Need annotation about version applicability in README

axxName commented 10 months ago

And about glibc version compatibility too

ldd sqlean.so ./sqlean.so: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by ./sqlean.so)

justinclift commented 10 months ago

If you're ok to compile the sqlean source code on your system, rather than use the precompiled version, that should fix your immediate problem and get things working. :smile:

nalgeon commented 10 months ago

Sorry, I do not have the capacity to investigate the specific version compatibility. Building from source is always an option as Justin said.