SQLite using ops #1619
Replies: 3 comments 13 replies
-
what exactly are you wanting to do? you can do something like this:
but you should know that running sqlite (w/out sql) and just passing a test.db will put you into an interactive mode which we don't support as these are intended to run as servers/daemons or non-interactive jobs that do work and spin down if you want to incorporate sqlite into your application all languages have bindings for that, if you want to run a sqlite server |
Beta Was this translation helpful? Give feedback.
-
I tried a new approach with c, so this is csqlite.c file. I tried to run it using // config.json
usr folder :
I am getting this error: ` *** signal 11 received by tid 2, errno 0, code 2 *** Thread context:
active_cpu: 00000000ffffffff
frame trace: kernel load offset ffffffffa14d8000 loaded klibs: stack trace: core dump |
Beta Was this translation helpful? Give feedback.
-
so there are a handful of issues you are running into here:
you'll want to specify the proper arch for what the pkg is if it's not the architecture that you are currently on (being detected)
by default, while you can do a '-s' or '--skipbuild' that will prevent new you have to copy the files out of it to get your results; considering your use-case is that
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to build SQLite image locally using the SQLite ELF.
I used this command:
ops pkg from-run --name <name of pkg> --version <version> <path to ELF>
it created a local pkg for me:
which I tried executing using :
ops pkg load --local <name_version> -a test.db
Terminal output:
so the sqlite cli is not running.. please help
Beta Was this translation helpful? Give feedback.
All reactions