Closed ieow closed 3 years ago
I am trying to use butane with postgres as db
cargo.toml file butane = { version = "0.2.1", features=["default", "pg", "r2d2" ] }
butane = { version = "0.2.1", features=["default", "pg", "r2d2" ] }
I tried run cargo install butane_cli
cargo install butane_cli
but hit error /usr/bin/ld: cannot find -lsqlite3
/usr/bin/ld: cannot find -lsqlite3
Notice that the butane_cli toml has dependencies butane = { path="../butane", version="0.3", features=["default", "sqlite", "pg"] }
butane = { path="../butane", version="0.3", features=["default", "sqlite", "pg"] }
solve it by installing libsqlite3-dev sudo apt-get install libsqlite3-dev
sudo apt-get install libsqlite3-dev
I am trying to use butane with postgres as db
cargo.toml file
butane = { version = "0.2.1", features=["default", "pg", "r2d2" ] }
I tried run
cargo install butane_cli
but hit error
/usr/bin/ld: cannot find -lsqlite3