SQLitePCL.raw icon indicating copy to clipboard operation
SQLitePCL.raw copied to clipboard

please support linux-bionic-arm64 & linux-bionic-x64

Open aicynide opened this issue 9 months ago • 2 comments

aicynide avatar Mar 15 '25 22:03 aicynide

If I wanted to build for this RID, how would I do it? Is there a cross compiler?

ericsink avatar Jul 24 '25 21:07 ericsink

Never heard of this one, an arch triple is commonly spelled ARCH-OS-LIBC, but distros more often than not provide libsqlite3.so, so that the provider package SQLitePCLRaw.provider.sqlite3 is supposed to "just work". Explicitly register it on startup. Beware only of SOVERSIONed library filenames, like how Debian does more and more often:

$ ls -noh /lib/x86_64-linux-gnu/libsqlite3.*
lrwxrwxrwx 1 0   19 2025-07-25 19:04:34 /lib/x86_64-linux-gnu/libsqlite3.so.0 -> libsqlite3.so.0.8.6
-rw-r--r-- 1 0 1.5M 2025-07-25 19:04:34 /lib/x86_64-linux-gnu/libsqlite3.so.0.8.6

The second expected symlink, libsqlite3.so -> libsqlite3.so.0, is conspicuously missing. If that's the case in your distro, just add it in the same directory and run sudo ldconfig so that it caches the path to the SO for the loader.

@ericsink, to answer your question, you likely have Windows, and if you have Windows, then you have WSL2, a lightweight but very real VM with the Linux kernel. VSCode and VS2022 both can build and debug inside it directly with appropriate extensions installed:

C:\>wsl
~$ uname -mrsv
Linux 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun  5 18:30:46 UTC 2025 x86_64

kkm000 avatar Aug 17 '25 14:08 kkm000