-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi, thank you for building and sharing this tool :)
I've encountered an error when I try to use runner, e.g. with simple example such as: runner -e 'String::from("Hello, World")'.
The error is:
dyld[36022]: Library not loaded: '@rpath/libstd-6d3bb15ae9e42a6c.dylib'
Referenced from: '/Users/danielwaltrip/.cargo/.runner/bin/tmp'
Reason: tried: '/usr/local/lib/libstd-6d3bb15ae9e42a6c.dylib' (no such file), '/usr/lib/libstd-6d3bb15ae9e42a6c.dylib' (no such file)
I was able to fix this by setting the ENV var DYLD_FALLBACK_LIBRARY_PATH like so:
export DYLD_FALLBACK_LIBRARY_PATH="$DYLD_FALLBACK_LIBRARY_PATH:$(rustc --print=sysroot)/lib"
I think I'll add this to my bash_rc or bash_profile... I'm good for now but just wanted to document the issue and what I've learned about it.
System / debug info
- System Version: macOS 12.6 (21G115)
- Kernel Version: Darwin 21.6.0
- Chip: Apple M1 Max
rustc --version: rustc 1.68.2 (9eb3afe9e 2023-03-27)cargo --version: cargo 1.68.2 (6feb7c9cf 2023-03-26)rustup --version: rustup 1.25.2 (17db695f1 2023-02-01)
durbanlegendiplus26
Metadata
Metadata
Assignees
Labels
No labels