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

macOS builtin: Undefined symbols for architecture arm64: _sqlite3_load_extension #486

Closed
SRombauts opened this issue Aug 18, 2024 · 1 comment
Assignees
Labels

Comments

@SRombauts
Copy link
Owner

SRombauts commented Aug 18, 2024

Found through #485 Test linking with builtin libsqlite3-dev package on Ubuntu

Undefined symbols for architecture arm64:
  "_sqlite3_load_extension", referenced from:
      SQLite::Database::loadExtension(char const*, char const*) in libSQLiteCpp.a[4](Database.cpp.o)
ld: symbol(s) not found for architecture arm64
@SRombauts SRombauts added the bug label Aug 18, 2024
@SRombauts SRombauts self-assigned this Aug 18, 2024
@SRombauts SRombauts changed the title macOS builtin: Undefined symbols for architecture arm64 macOS builtin: Undefined symbols for architecture arm64: _sqlite3_load_extension Aug 18, 2024
@SRombauts
Copy link
Owner Author

SRombauts commented Aug 18, 2024

We have to use -DSQLITE_OMIT_LOAD_EXTENSION=ON when we use -DSQLITECPP_INTERNAL_SQLITE=OFF on macOS

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

No branches or pull requests

1 participant