Skip to content

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

Closed

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.

Activity

  1. ghost assigned on Oct 9, 2011
  2. brson commented on Oct 9, 2011

    @brson
    Contributor

    I think we need a new snapshot to capture the fix in 831d861. I will do this as soon as I can.

  3. brson commented on Oct 9, 2011

    @brson
    Contributor

    I think this should be fixed now, but I can't easily test it since I don't have access to a mac that isn't one of the build bots.

  4. Yoric commented on Oct 10, 2011

    @Yoric
    ContributorAuthor

    The fix does it for me, thank you. I now have Rust up and running!

  5. added a commit that references this issue on Apr 10, 2015
  6. added 3 commits that reference this issue on Aug 21, 2026
  7. added a commit that references this issue on Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-linkageO-macos

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions