nalgeon / sqlean

The ultimate set of SQLite extensions
MIT License
3.65k stars 115 forks source link

sqlite version compatibility #106

Closed axxName closed 8 months ago

axxName commented 8 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 8 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 8 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 8 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.