LLVMHello example fails with "undefined symbol"


I am trying to learn LLVM by following this article

I checked 2.8 version from svn, built it and now I am trying to run
Hello world example as

$ opt -load ./Release/lib/LLVMHello.so -analyze

but unfortunately it fails:

Error opening './Release/lib/LLVMHello.so':
./Release/lib/LLVMHello.so: undefined symbol:
  -load request ignored.

Is it a known problem? How I should fix it?

Same issue here. Did you find any solution to this? Did I miss something?


Hi Anatol, does the hello plugin in llvm-2.8/lib/Transforms/Hello work? The
online docs refer to the upcoming 2.9 release of LLVM, so may not work correctly
with LLVM 2.8.

Ciao, Duncan.