emk / rust-musl-builder

Docker images for compiling static Rust binaries using musl-libc and musl-gcc, with static versions of useful C libraries. Supports openssl and diesel crates.
Apache License 2.0
1.54k stars 193 forks source link

Using diesel and sqlite3 #36

Closed NickeZ closed 6 years ago

NickeZ commented 6 years ago

I get the following compile error:

 = note: /usr/bin/ld: cannot find -lsqlite3
          collect2: error: ld returned 1 exit status

The PR was closed but was the issue solved or rejected? #29

NickeZ commented 6 years ago

I solved it by following the example and adding libsqlite3-sys to Cargo.toml.