[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
running 
"An Example Using the LLVM Tool Chain" at
http://llvm.org/docs/GettingStarted.html .

In step 4, the command 

./hello 

fails with the message: 

dyld: Library not loaded:
/Users/tonic/2.3/llvm-gcc/install/lib/libgcc_s.1.dylib
  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
http://pr.mail.yahoo.co.jp/yells/



More information about the llvm-dev mailing list