<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Is the directory<br>
          /opt/adolc/221/adolc_base/lib<br>
      is in your LD_LIBRARY_PATH ?<br>
      <br>
      Under the heading "adolc_dir" and the subheading "Linux" on the
      web page<br>
         
      <a class="moz-txt-link-freetext" href="http://www.coin-or.org/CppAD/Doc/installunix.xml#adolc_dir.Linux">http://www.coin-or.org/CppAD/Doc/installunix.xml#adolc_dir.Linux</a><br>
      the following text appears<br>
      <br>
      Linux<br>
      If you are using Linux, you will have to add to following lines to
      the file .bash_profile in your home directory:<br>
          LD_LIBRARY_PATH=adolc_dir/lib:${LD_LIBRARY_PATH}<br>
          export LD_LIBRARY_PATH<br>
      in order for Adolc to run properly.<br>
      <br>
      What is really needed here is that the shell that runs the program
      must have the adolc library directory included in LD_LIBRARY_PATH<br>
      <br>
      <br>
      On 09/05/2012 03:11 PM, Rishi Amrit wrote:<br>
    </div>
    <blockquote
cite="mid:CADxzdOsm0ZoOr5EXSO7W5BW3PQmBSHj_a-Zoojyp0-zgMAeUbA@mail.gmail.com"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html;
        charset=ISO-8859-1">
      <div>Hi,
        <div><br>
        </div>
        <div>  I followed the instructions on the install page and tried
          to make the tests. This is what I get:</div>
        <div><br>
        </div>
        <div>
          <div>g++ -O2 -DNDEBUG -DSPEED_ADOLC   -L../src
            -L/opt/adolc/221/adolc_base/lib
            -L/opt/adolc/221/adolc_base/lib64  -o adolc alloc_mat.o
            main.o det_lu.o det_minor.o mat_mul.o ode.o poly.o
            sparse_hessian.o sparse_jacobian.o -lspeed -ladolc</div>
          <div>make[2]: Leaving directory `/opt/cppad/2012/speed/adolc'</div>
          <div>./adolc correct 123</div>
          <div>./adolc: error while loading shared libraries:
            libadolc.so.1: cannot open shared object file: No such file
            or directory</div>
          <div>make[1]: *** [test] Error 127</div>
          <div>make[1]: Leaving directory `/opt/cppad/2012/speed/adolc'</div>
          <div>make: *** [test] Error 2</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Its not finding adolc library file in the location, even
          though it is there:</div>
        <div><br>
        </div>
        <div>
          <div>/opt/cppad/2012$ ls /opt/adolc/221/adolc_base/lib64</div>
          <div>libadolc.a  <a moz-do-not-send="true"
              href="http://libadolc.la">libadolc.la</a>  libadolc.so
             libadolc.so.1  libadolc.so.1.1.1</div>
        </div>
        <div>
          <br>
        </div>
        <div>
          Any help would be appreciated.</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div><br>
        </div>
        <div>Kind regards,</div>
        <div>R.</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
CppAD mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CppAD@list.coin-or.org">CppAD@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/cppad">http://list.coin-or.org/mailman/listinfo/cppad</a>
</pre>
    </blockquote>
    <br>
    <br>
  </body>
</html>