New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS error: dlsym(0x8a21b620, sqlite3_crsqlitedarwinaarch_init): symbol not found #338
Comments
Aha - just spotted this: Lines 156 to 158 in 59f03c8
|
This worked:
|
Different problem, trying to follow this example in the README: Lines 85 to 140 in 59f03c8
I get:
|
Ah I haven’t kept the readme up to date with the latest version. The entire
output of crsql changes should be fed into an insert into crsql changes on
another node.
Not at a laptop now but the python hypothesis tests as well as sync tests
would have up to date example uses.
…On Tue, Sep 5, 2023 at 2:26 PM Simon Willison ***@***.***> wrote:
Different problem, trying to follow this example in the README:
https://github.com/vlcn-io/cr-sqlite/blob/59f03c8a23cfa361ca9bf95c603fc70442419127/README.md?plain=1#L85-L140
I get:
sqlite> insert into crsql_changes
("table", pk, cid, val, col_version, db_version, site_id)
values
('foo', 5, 'b', '''thing''', 5, 5, X'7096E2D505314699A59C95FABA14ABB5');
Runtime error: query aborted (4)
—
Reply to this email directly, view it on GitHub
<#338 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHWK22ZPKISTV2A546SW2LXY5VGFANCNFSM6AAAAAA4MFSBOU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Gotcha, looks like this is the test to follow: https://github.com/vlcn-io/cr-sqlite/blob/main/py/correctness/tests/test_sync.py |
Yep. That uses the latest build (what is in main and the v0.15.xxx releases) |
@simonw - I published |
Wrote up some of my notes on trying this out here: https://til.simonwillison.net/sqlite/cr-sqlite-macos |
I'm trying to load the https://github.com/vlcn-io/cr-sqlite/releases/download/v0.15.0-next.2/crsqlite-darwin-aarch64.dylib on macOS.
I've tried a few different
sqlite3
binaries I had lying around and got the same error in all of them. What am I doing wrong?The text was updated successfully, but these errors were encountered: