asg017 / sqlite-regex

A fast regular expression SQLite extension, written in Rust
Apache License 2.0
171 stars 6 forks source link

Bug: Error `Loadable extension for sqlite-regex not found` #14

Open titanism opened 10 months ago

titanism commented 10 months ago

Getting this error on ARM64 Ubuntu:

Loadable extension for sqlite-regex not found. Was the sqlite-regex-linux-arm64 package installed?

titanism commented 10 months ago

Calling getLoadablePath results in this error on ARM64 Ubuntu 22.04 LTS

asg017 commented 10 months ago

Yeah, I don't have precompiled extensions for Linux arm64, but I've been meaning to add them. I'll try to do it soon!

In the meantime, you'll need to compile your own version yourself

marechalbati commented 7 months ago

For information, there is an error in the Windows platform control for the download of the "sqlite-regex-windows-x64" module, the conversion between "win32" and "windows" is not carried out. :


> npm install sqlite-regex-windows-x64

npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for sqlite-regex-windows-x64@0.2.4-alpha.1: wanted {"os":"windows","cpu":"x64"} (current: {"os":"win32","cpu":"x64"})
npm ERR! notsup Valid os:   windows
npm ERR! notsup Actual os:  win32
npm ERR! notsup Valid cpu:  x64
npm ERR! notsup Actual cpu: x64

It is not blocking, the download can be forced ;)

> npm i sqlite-regex-windows-x64 --force
npm WARN using --force Recommended protections disabled.
added 1 package, and audited 361 packages in 2s
62 packages are looking for funding
  run `npm fund` for details
found 0 vulnerabilities

Many thanks ;)