building cargo atop multirust fails, dyn link problems (Mac OS X)
- Dominant language
- Shell
- Stars
- 651
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
building cargo atop multirust on Mac OS X fails during build-script-build invocations
```
error: aborting due to 6 previous errors
failed to run custom build command for `time v0.1.23`
Process didn't exit successfully: `/Users/pnkfelix/Dev/Mozilla/cargo-dbgopt.git/target/debug/build/time-6a09e66e4b5c9d32/build-script-build` (signal: 5)
--- stderr
dyld: Library not loaded: x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib/libstd-4e7c5e5c.dylib
Referenced from: /Users/pnkfelix/Dev/Mozilla/cargo-dbgopt.git/target/debug/build/time-6a09e66e4b5c9d32/build-script-build
Reason: image not found
```
I do not know whether this is a cargo bug or a multirust one, to be honest, but it seemed troubling that the attempts to resolve `libstd` were not going through the `DYLD_LIBRARY_PATH` and instead seemed to be going through ... what I think is an embedded `rpath` ?
(It is also weird that it seems like is using this path `x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib/libstd-4e7c5e5c.dylib` which looks like it must be coming from a local rust build, even though I am attempting to use `multirust` solely with the `beta` and `nightly` channels ... perhaps that is a clue to something more deeply wrong in my setup...)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.