Skip to content

Build Error: Unable to find libsqlite3 library #12

@supporter-1161

Description

@supporter-1161

Description

When attempting to build the jdbrowser project from source, a compilation error occurred related to the missing libsqlite3 library.

Steps to Reproduce

  1. Clone the jdbrowser repository:
    git clone <repository_URL>
    cd JDbrowser
  2. Attempt to build the project using the command:
    cargo build --release
  3. Observe the error:
    error: linking with `cc` failed: exit status: 1
    ...
    /usr/bin/ld: cannot find -lsqlite3: No such file or directory
    

Expected Behavior

The project should build successfully without errors.

Actual Behavior

The build fails with an error indicating the absence of the libsqlite3 library.

Environment

  • Operating System: Debian GNU/Linux 12 (bookworm)
  • Version: 12 (bookworm)
  • GLIBC Version: 2.36
  • Kernel Version: 6.1.0-34-amd64
  • Rust Version:
    • cargo: 1.88.0
    • rustc: 1.88.0

Additional Information

  • Installed library to resolve the issue:
    sudo apt install libsqlite3-dev

Suggestion

It would be helpful to include the required dependencies, such as libsqlite3-dev, in the project's documentation to assist future users in building the project successfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions