Skip to content

dyld: Library not loaded: @rpath/libstd.dylib - when doing make check #1019

Closed
@Yoric

Description

@Yoric
  • rust git version: aff536e
  • 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.

Metadata

Metadata

Assignees

Labels

A-linkageArea: linking into static, shared libraries and binariesO-macosOperating system: macOS

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions