graydon/rust — Issue #1019: dyld: Library not loaded: @rpath/libstd.dylib - when doing make check
Author: Yoric
Created: 2011-10-09 14:48:45+00:00
State: open

* rust git version: aff536ec0e2f12336c86810f1558d50416d25394
* llvm svn version: 141079
* rust configure tags: --disable-valgrind --disable-optimizations
* OS: MacOS X Lion

Previously, compilation froze. With the latest version, I have the following trace:

$ make check
cfg: shell host triple i686-apple-darwin
cfg: llvm host triple i686-apple-darwin
cfg: llvm target triples
cfg: unix-y environment
cfg: using gcc
cfg: disabling valgrind (CFG_DISABLE_VALGRIND)
cfg: including dist rules
cfg: including test rules
check: formatting
compile_and_link: stage0/lib/rustc/i686-apple-darwin/lib/libstd.dylib
dyld: Library not loaded: @rpath/libstd.dylib
Referenced from: /Users/david/Documents/Code/rust/build/stage0/bin/rustc
Reason: image not found
make: *** [stage0/lib/rustc/i686-apple-darwin/lib/libstd.dylib] Trace/BPT trap: 5

I have also tried with a [make clean], the result is the same.