Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hey, I'm trying to add the sqlite-vec extension to DB Browser via Settings -> Extensions, but it throws an error:

Error loading extension: dlopen(/Users/swiftedmind/Documents/vec0.dylib.dylib, 0x000A): tried: '/Users/swiftedmind/Documents/vec0.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/swiftedmind/Documents/vec0.dylib.dylib' (no such file), '/Users/swiftedmind/Documents/vec0.dylib.dylib' (no such file)

Is sqlite-vec not supported or do you know why this might be happening? The file path is definitely correct and I tried removing the file extension, adding this doubled file extension and so on but I keep getting this error.

I also made sure that the file is executable (since macOS blocks execution by default, but I allowed it through the system settings)

Thanks!

You must be logged in to vote

Hi @SwiftedMind, This issue occurs due to security measures required when notarizing an app on macOS.
You can temporaily resolve this issue by following the sequence of commands below.

  1. Open the Terminal
  2. Run codesign --force --deep -s - /Applications/DB\ Browser\ for\ SQLite.app

If the app is installed in a different location, adjust the path accordingly when running the command.

  1. Run codesign --force -s - /Users/swiftedmind/Documents/vec0.dylib
  2. Run the DB4S and try load an extension.

If you have any questions, please feel free to ask. Thank you. :)

Replies: 2 comments · 5 replies

Comment options

And what is the full path of the file (including extension) of the file you're trying to add?

You must be logged in to vote
3 replies
@SwiftedMind
Comment options

This is the full path: /Users/swiftedmind/Documents/vec0.dylib
But even renaming to /Users/swiftedmind/Documents/vec0.dylib.dylib doesn't change the error message

@justinclift
Comment options

I kind of wonder if it's a macOS Security thing getting in the way. Is the vec0.dylib file signed?

If it's not, is there anything in the macOS Settings "Security" area about it after you try to load it?

@SwiftedMind
Comment options

The file is not signed, no (at least I don't think so) and macOS did block it at first, but I allowed it in the security settings so it should have the rights.

Comment options

Hi @SwiftedMind, This issue occurs due to security measures required when notarizing an app on macOS.
You can temporaily resolve this issue by following the sequence of commands below.

  1. Open the Terminal
  2. Run codesign --force --deep -s - /Applications/DB\ Browser\ for\ SQLite.app

If the app is installed in a different location, adjust the path accordingly when running the command.

  1. Run codesign --force -s - /Users/swiftedmind/Documents/vec0.dylib
  2. Run the DB4S and try load an extension.

If you have any questions, please feel free to ask. Thank you. :)

You must be logged in to vote
2 replies
@SwiftedMind
Comment options

Thanks! That was it. Now it's working. Thanks a lot! 😃

@lucydodo
Comment options

Glad to hear that :)

Answer selected by SwiftedMind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.