Skip to content

.Net: Bug: Microsoft.Data.Sqlite.SqliteException – Error loading shared library vec0.so on Alpine 3.22 #13566

@davejitsu

Description

@davejitsu

Describe the bug
When running the application inside a Docker container based on Alpine 3.22, SQLite fails to load the vec0 extension and throws the following exception: Microsoft.Data.Sqlite.SqliteException: SQLite Error 1: 'Error loading shared library vec0.so: No such file or directory'.

To Reproduce
connection.LoadExtension("vec0");

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Platform

  • Language: C#
  • Container OS: Alpine Linux 3.22

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETIssue or Pull requests regarding .NET codebugSomething isn't workingtriage

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions