<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 8/1/11 12:16 PM, neda 8664 wrote:
    <blockquote
cite="mid:CAHbEVmSVYfU+fsRX2DXkj7Fj-WgOq83sVwsUUEzuTUV4DO3Gdw@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <pre>Hi all

I want to use "'/home/llvm/src/utils/<a moz-do-not-send="true" href="http://profile.pl" target="_blank">profile.pl</a>' -edge sort.bc" command, but i face this error: 

</pre>
      <span></span><span><span><span><span>
              <div>
                Error opening '/usr/local/lib/profile_rt.so':
                /usr/local/lib/profile_rt.so: cannot open shared object
                file: No such file or directory<br>
                  -load request ignored.<br>
                LLVM ERROR: Program used external function
                'llvm_start_edge_profiling' which could not be resolved!<br>
                llvm-prof: Error opening 'llvmprof.out': No such file or
                directory<br>
              </div>
            </span></span></span></span></blockquote>
    <br>
    I haven't used profile.pl myself, but looking at the error, it looks
    like there's a run-time library (profile_rt.so) that it's looking
    for in /usr/local/lib but can't find.<br>
    <br>
    I suspect that profile_rt.so is built as part of LLVM, but since you
    haven't done a "make install," profile_rt.so is still just sitting
    in the Release/lib (or Debug+Asserts/lib) directory.<br>
    <br>
    If you search for profile_rt.so in your LLVM object tree and change
    the script to load it from that directory instead, the script may
    work for you.<br>
    <br>
    -- John T.<br>
    <br>
    <blockquote
cite="mid:CAHbEVmSVYfU+fsRX2DXkj7Fj-WgOq83sVwsUUEzuTUV4DO3Gdw@mail.gmail.com"
      type="cite"><span><span><span><span>
              <div><br>
                <br>
                <br>
                <br>
              </div>
            </span></span></span></span>
      <div style="visibility: hidden; left: -5000px; position: absolute;
        z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px;
        overflow: hidden; word-wrap: break-word; color: black;
        font-size: 10px; text-align: left; line-height: 130%;"
        id="avg_ls_inline_popup">
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>