-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
The given compilation command did not create a dynamic library for me. Using the following command created one at the expected place (removed --
and added release
, since the example used a release build):
cargo rustc --features extension --release --crate-type=cdylib
The suggested .load
command will only work on MacOS, since other systems use a different suffix for dynamic libraries. A simple way to avoid that problem is to omit the suffix, since sqlite will look up files with the correct suffix for the used OS:
.load ./target/release/libsignal_tokenizer
When changing these two things, sqlite3 find the library, but still fails to load it correctly due to
Error: ./target/release/libsignal_tokenizer.so: undefined symbol: sqlite3_signaltokenizer_init
I haven't looked into that problem yet. Any obvious explanation? Did I break something by changing the rustc call?
trucnguyenlam and mpr1255
Metadata
Metadata
Assignees
Labels
No labels