Skip to content

plezy: build but fails to run with sqlite error #597109

Duplicate

Description

@emenel

Nixpkgs version

  • Unstable (27.05)

Describe the bug

When running the plezy package the app launches but fails with error:

[I]  Startup phase: phase=dart_main elapsedMs=0
[I]  Startup phase: phase=runApp elapsedMs=0
[I]  Startup phase: phase=first_frame elapsedMs=11
[I]  Startup phase: phase=database_open_started elapsedMs=71
[E]  Startup initialization failed: [database] DriftRemoteException: Invalid argument(s): Couldn't resolve native function 'sqlite3_initialize' in 'package:sqlite3/src/ffi/libsqlite3.g.dart' : Failed to load dynamic library 'libsqlite3.so': Failed to load dynamic library 'libsqlite3.so': libsqlite3.so: cannot open shared object file: No such file or directory.

Steps to reproduce

run nix run nixpkgs#plezy

Minimal reproducer

Expected behaviour

app runs without error

Screenshots

No response

Relevant log output

[I]  Startup phase: phase=dart_main elapsedMs=0
[I]  Startup phase: phase=runApp elapsedMs=0
[I]  Startup phase: phase=first_frame elapsedMs=11
[I]  Startup phase: phase=database_open_started elapsedMs=71
[E]  Startup initialization failed: [database] DriftRemoteException: Invalid argument(s): Couldn't resolve native function 'sqlite3_initialize' in 'package:sqlite3/src/ffi/libsqlite3.g.dart' : Failed to load dynamic library 'libsqlite3.so': Failed to load dynamic library 'libsqlite3.so': libsqlite3.so: cannot open shared object file: No such file or directory.

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 7.3.5, Guix System, noversion, nobuild
  • multi-user?: no
  • sandbox: yes
  • version: nix-env (Nix) 2.32.8
  • nixpkgs: not found

Notify maintainers

@mio-aotearoa @MiniHarinn @BatteredBunny


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions