[LLVMdev] "dyld: Library not loaded" llvm-gcc error

ブラウン スコット sukottoburaun at yahoo.co.jp
Thu Aug 21 09:20:50 PDT 2008

After installing llvm and llvm-gcc 4.2 on Mac OS X I tried
"An Example Using the LLVM Tool Chain" at
http://llvm.org/docs/GettingStarted.html .

In step 4, the command 


fails with the message: 

dyld: Library not loaded:
  Referenced from: /Users/Username/Path/./hello
  Reason: image not found
Trace/BPT trap

However, all of the other steps in the example work
correctly, apart from compiling directly to native code
with llvm-gcc.

Is there a way to fix this error?

For All Sports Lovers! SPORTS OHEN PROJECT 2008

More information about the llvm-dev mailing list