Skip to content

Compiling diesel-migrations for FreeBSD fails. #520

@gahag

Description

@gahag

Compiling diesel-migrations with cross build --target=x86_64-unknown-freebsd results in the following error:

error: libthr.so.3: cannot open shared object file: No such file or directory
  --> /cargo/registry/src/github.com-1ecc6299db9ec823/diesel_migrations-1.4.0/src/lib.rs:82:1
   |
82 | extern crate migrations_macros;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

error: could not compile `diesel_migrations`

Cargo.toml:

name = "ohgodwhy"
version = "0.1.0"
authors = ["gahag <gabriel.s.b@live.com>"]
edition = "2018"

[dependencies]
diesel = { version = "1.4", features = ["sqlite"] }
diesel_migrations = { version = "1.4", features = ["sqlite"] }

main.rs:

fn main() {
    println!("Hello, world!");
}

Is this an issue with the cross' FreeBSD setup, or with diesel-migrations?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions