asg017 / sqlite-vss

A SQLite extension for efficient vector search, based on Faiss!
MIT License
1.59k stars 58 forks source link

error on ubuntu 18.04 #110

Open tap2k opened 6 months ago

tap2k commented 6 months ago

[Error: SQLITE_ERROR: /home/parikh/greymarket/node_modules/sqlite-vss-linux-x64/lib/vss0.so.so: cannot open shared object file: No such file or directory]

Using npm/node. Why is there the extra .so appended there?

asg017 commented 6 months ago

The extra .so gets appended by SQLite because the original attempt at loading vss0.so fails. It most likely fails because the linux sqlite-vss builds are compiled on Github Actions runners, and the earliest ubuntu build I can access is 20.04, because 18.04 was deprecated. Also Ubuntu 18.04 reached end of life recently, so it'll be tricky to justify supporting it.

Unfortunately, your best bet currently is to compile sqlite-vss yourself and load it in manually.

tap2k commented 6 months ago

Thanks for the prompt reply!