<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">You're using VirtualBox, what is the
      host os? I wonder if this has something to do with the fact that
      it's a symlink? I'd try rm'ing the symlink and making a copy of
      the library named libOSMesa.so. If that doesn't help you could
      always restore the symlink.<br>
      <br>
      On 11/26/2013 1:27 PM, Scott Wittenburg wrote:<br>
    </div>
    <blockquote
cite="mid:CAPiw4fBdrVcPrS-OshHWX1x7ffwCbriZBrqMu477r-8-1j=a1g@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>Hi paraviewers,<br>
              <br>
            </div>
            &nbsp;&nbsp; I'm trying to build ParaView with OSMesa (and
            gallium/llvmpipe) as described here:<br>
            <br>
            <a moz-do-not-send="true"
              href="http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D"
              target="_blank">http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D</a><br>
            <br>
            I am working on a virtual box machine with Ubuntu 13.04
            installed.&nbsp; I have followed the instructions for building
            osmesa and then ParaView, but I have run into the following
            error during the ParaView compile phase:<br>
            <br>
            <span style="font-family:courier new,monospace">Linking CXX
              shared library ../../../lib/<a moz-do-not-send="true"
                href="http://libvtkftgl-pv4.1.so" target="_blank">libvtkftgl-pv4.1.so</a><br>
              /usr/bin/ld: cannot find
              -l/opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so<br>
              collect2: error: ld returned 1 exit status<br>
              make[2]: *** [lib/libvtkftgl-pv4.1.so.1] Error 1<br>
              make[1]: ***
              [VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2<br>
              make: *** [all] Error 2<br>
              scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls
              -al /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so<br>
              lrwxrwxrwx 1 root root 18 Nov 26 10:45
              /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so -&gt;
              libOSMesa.so.8.0.0<br>
              scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls
              -al /opt/mesa/9.2.2/llvmpipe/lib<br>
              total 34252<br>
              drwxr-xr-x 3 root root&nbsp;&nbsp;&nbsp;&nbsp; 4096 Nov 26 10:45 .<br>
              drwxr-xr-x 4 root root&nbsp;&nbsp;&nbsp;&nbsp; 4096 Nov 26 10:45 ..<br>
              -rwxr-xr-x 1 root root&nbsp;&nbsp;&nbsp;&nbsp; 1015 Nov 26 10:45 libOSMesa.la<br>
              lrwxrwxrwx 1 root root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 18 Nov 26 10:45 libOSMesa.so
              -&gt; libOSMesa.so.8.0.0<br>
              lrwxrwxrwx 1 root root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 18 Nov 26 10:45
              libOSMesa.so.8 -&gt; libOSMesa.so.8.0.0<br>
              -rwxr-xr-x 1 root root 35056257 Nov 26 10:45
              libOSMesa.so.8.0.0<br>
              drwxr-xr-x 2 root root&nbsp;&nbsp;&nbsp;&nbsp; 4096 Nov 26 10:45 pkgconfig</span><br>
            <div><br>
            </div>
            As demonstrated above, the library is right where make says
            it can't find it.&nbsp; However, I'm not familiar with this form
            of specifying a library with the '-l' flag.&nbsp; Usually, I
            would say something like '-l OSMesa', if I wanted to link
            against 'libOSMesa.so', then I would say where it is located
            with the 'L' flag.&nbsp; Anyway, does anyone have any idea what I
            could have done wrong to achieve this error?&nbsp; I have
            included my CMakeCache.txt, but I can provide other
            information if it would be useful.<br>
            <br>
          </div>
          Thanks!<br>
          <br>
        </div>
        Cheers,<br>
        Scott<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>