-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.Category: This is a bug.T-cargoRelevant to the cargo team, which will review and decide on the PR/issue.Relevant to the cargo team, which will review and decide on the PR/issue.
Description
STR (using latest stable rust 1.23.0 on Ubuntu 16.04):
- Clone the cbindgen repo (current master is 270491f)
- Build it using
cargo build --release
- Run it by running
target/release/cbindgen
- Run it by running
cargo run --release
Expected:
step 3 and step 4 both run the binary without errors
Actual:
Step 4 runs the binary. But step 3 produces this error:
target/release/cbindgen: error while loading shared libraries: libproc_macro-6572f0cb64bf7b5a.so: cannot open shared object file: No such file or directory
That .so file doesn't appear in the target
directory.
/cc @eqrion who was seeing this also.
jD91mZM2, h-michael and kckeiks
Metadata
Metadata
Assignees
Labels
A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.Category: This is a bug.T-cargoRelevant to the cargo team, which will review and decide on the PR/issue.Relevant to the cargo team, which will review and decide on the PR/issue.