hello sir, 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130211/3388ff1c/attachment.html>
---------- Forwarded message ---------- From: Manoj C <manoj.chinthala at gmail.com> Date: Mon, Feb 11, 2013 at 11:05 AM Subject: llvm pass To: llvmdev at cs.uiuc.edu hello sir, 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130211/3ad10d73/attachment.html>
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 ?