You are not logged in.

#1 Today 16:21:16

anonpenguin
Member
Registered: 2025-05-14
Posts: 1

[duckdb 2.0.1] Not autoloading for sqlite

Hello,

I'm not sure if this is a Pacman issue or a duckdb bug related to the official duckdb 2.0.1 package from the extra repository. When I try to load sqlite the first time after upgrading to this version, DuckDB fails because the default extension repository path is hardcoded to the build server's local directory:

/build/duckdb/src/build/repository


Steps to reproduce:
1. Install duckdb (2.0.1) via pacman.
2. Open the duckdb CLI.
3. Run:

LOAD sqlite;

Actual result:

IO Error:
Failed to install local extension "sqlite_scanner", no access to the file at PATH "/build/duckdb/src/build/repository/v2.0.1/linux_amd64/sqlite_scanner.duckdb_extension"

Expected result:
According to DuckDB documentation:

The sqlite extension will be transparently autoloaded on first use from the official extension repository.

Workaround:
Install the extension manually:

INSTALL sqlite;
LOAD sqlite;

Thanks!

Offline

Board footer

Powered by FluxBB