<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - build - libvdpau_softpipe fails at runtime."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=60121">60121</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>build - libvdpau_softpipe fails at runtime.
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lists@andyfurniss.entadsl.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I think this is related to the new build system but can't be sure.

Using VDPAU_DRIVER=r600 works fine but VDPAU_DRIVER=softpipe fails with -

libvdpau_softpipe.so: cannot open shared object file: No such file or directory

The lib is built and present, though.

-rwxr-xr-x 1 root root 1.8K Jan 31 13:01 libvdpau_softpipe.la
lrwxrwxrwx 1 root root   26 Jan 31 13:01 libvdpau_softpipe.so ->
libvdpau_softpipe.so.1.0.0
lrwxrwxrwx 1 root root   26 Jan 31 13:01 libvdpau_softpipe.so.1 ->
libvdpau_softpipe.so.1.0.0
-rwxr-xr-x 1 root root  27M Dec 19 23:28 libvdpau_softpipe.so.1.0
-rwxr-xr-x 1 root root  30M Jan 31 13:01 libvdpau_softpipe.so.1.0.0

As you can see due to the change of name I still have an old pre automake
version of the driver. If I change the links to point to that the above command
works.

Looking at old and new with ldd the only difference (apart from ../) is that
the new lib has libdrm.so.2 whereas the old doesn't.

andy [ ~ ]$ ldd /usr/lib/vdpau/libvdpau_softpipe.so.1.0.0 | sort
        libc.so.6 => /lib/libc.so.6 (0x00007f7faa1f0000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f7faab8a000)
        libdrm.so.2 => /usr/lib/../lib/libdrm.so.2 (0x00007f7fab1be000)
        libgcc_s.so.1 => /usr/lib/../lib/libgcc_s.so.1 (0x00007f7fa9fdb000)
        /lib/ld-linux-x86-64.so.2 (0x00007f7fadc49000)
        libm.so.6 => /lib/libm.so.6 (0x00007f7faa596000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f7faad8f000)
        librt.so.1 => /lib/librt.so.1 (0x00007f7faafab000)
        libstdc++.so.6 => /usr/lib/../lib/libstdc++.so.6 (0x00007f7faa88c000)
        libvdpau.so.1 => /usr/lib/../lib/libvdpau.so.1 (0x00007f7fac343000)
        libX11.so.6 => /usr/lib/../lib/libX11.so.6 (0x00007f7fabbf6000)
        libX11-xcb.so.1 => /usr/lib/../lib/libX11-xcb.so.1 (0x00007f7fabf30000)
        libXau.so.6 => /usr/lib/../lib/libXau.so.6 (0x00007f7fab5d0000)
        libxcb-dri2.so.0 => /usr/lib/../lib/libxcb-dri2.so.0
(0x00007f7fab9f2000)
        libxcb.so.1 => /usr/lib/../lib/libxcb.so.1 (0x00007f7fab7d3000)
        libXdmcp.so.6 => /usr/lib/../lib/libXdmcp.so.6 (0x00007f7fab3cb000)
        libXext.so.6 => /usr/lib/../lib/libXext.so.6 (0x00007f7fac132000)
        linux-vdso.so.1 (0x00007fff4193f000)
andy [ ~ ]$ 
andy [ ~ ]$ 
andy [ ~ ]$ ldd /usr/lib/vdpau/libvdpau_softpipe.so.1.0 | sort
        libc.so.6 => /lib/libc.so.6 (0x00007fb749e68000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007fb74b229000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fb74a20d000)
        /lib/ld-linux-x86-64.so.2 (0x00007fb74cb33000)
        libm.so.6 => /lib/libm.so.6 (0x00007fb74a929000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007fb74b42d000)
        librt.so.1 => /lib/librt.so.1 (0x00007fb74a721000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fb74a423000)
        libvdpau.so.1 => /usr/lib/libvdpau.so.1 (0x00007fb74b025000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fb74991c000)
        libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0x00007fb74ae24000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fb7494fb000)
        libxcb-dri2.so.0 => /usr/lib/libxcb-dri2.so.0 (0x00007fb74ac20000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fb7496fe000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fb7492f5000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fb749c57000)
        linux-vdso.so.1 (0x00007fff6d452000)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>