[LLVMdev] llvm pass

Óscar Fuentes ofv at wanadoo.es
Mon Feb 11 08:52:49 PST 2013


Manoj C <manoj.chinthala at gmail.com> writes:

>     i build llvm-clang successfully in my pc but while running a pass i am
> geetting this error
>
> praveen at ubuntu:~/Desktop/LLVM/
> build/Release$ opt -load /lib/LLVMHello.so --help
> Error opening '/lib/LLVMHello.so': /lib/LLVMHello.so: cannot open shared
> object file: No such file or directory
>   -load request ignored.
> please help me to overcome the error.

Please don't post the same question multiple times.

Check that LLVMHello.so has the correct permissions (mostly the read and
execute flag on.)

How did you install LLVM ? If I recall correctly, LLVMHello.so should be
in /usr/lib. What's the output of

ls -l /lib/LLVMHello.so

?




More information about the llvm-dev mailing list