Skip to content
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

cannot .load module when building from current master #36

Open
mikeggh opened this issue Feb 18, 2024 · 0 comments
Open

cannot .load module when building from current master #36

mikeggh opened this issue Feb 18, 2024 · 0 comments

Comments

@mikeggh
Copy link

mikeggh commented Feb 18, 2024

I've used cargo build --release, and .load and it fails with: Error: ./target/release/libsqlite_zstd.so: undefined symbol: sqlite3_sqlitezstd_init...

@e   ~/code/sqlite-zstd    master   1 ↵  10061  8:58 PM 
 find . -name *.so
./target/release/libsqlite_zstd.so
./target/release/deps/libsqlite_zstd.so
./target/release/deps/libserde_derive-2ac52318a8ae2f1a.so
./target/debug/libsqlite_zstd.so
./target/debug/deps/libserde_derive-dd2b9123652b1f58.so
./target/debug/deps/libsqlite_zstd.so
@e   ~/code/sqlite-zstd    master     10062  8:58 PM 
 sqlite3
SQLite version 3.42.0 2023-05-16 12:36:15
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite> .load ./target/release/libsqlite_zstd.so
Error: ./target/release/libsqlite_zstd.so: undefined symbol: sqlite3_sqlitezstd_init
sqlite>

@e   ~/code/sqlite-zstd    master   1 ↵  10063  9:00 PM 
 git pull
Already up to date.
@e   ~/code/sqlite-zstd    master     10064  9:00 PM 
 git checkout
Your branch is up to date with 'origin/master'.
@e   ~/code/sqlite-zstd    master     10065  9:00 PM 

I saw someone else had this error but it was from using a 0.1.1 release version or something, however I am encountering it using a updated master pull. Let me know if I'm doing something wrong, thanks....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant