[Mesa-dev] Static/shared pipe-drivers (was megadriver/pipe-loader-to-all)

Andy Furniss adf.lists at gmail.com
Mon Jun 23 10:11:26 PDT 2014

Emil Velikov wrote:

> Yes I had a few copy/paste typos that were causing make install to fall short
> when generating the (sym|hard)links. Should be fixed with commit 11e46a32aed.
> Let me know if latest master work for you.

No, it fails to install anything to do with libvdpau_gallium* which is 
present in the tree in /src/gallium/targets/vdpau/.libs some output below.

Additionally it copies/makes the links for libvdpau_radeonsi* but 
doesn't install the target libvdpau_radeonsi.so.1.0.0, which is present 
in tree in lib/gallium.

  /bin/mkdir -p '/usr/lib/vdpau'
  /bin/sh ../../../../libtool   --mode=install /bin/install -c 
libvdpau_gallium.la '/usr/lib/vdpau'
libtool: install: /bin/install -c .libs/libvdpau_gallium.so.1.0.0 
libtool: install: (cd /usr/lib/vdpau && { ln -s -f 
libvdpau_gallium.so.1.0.0 libvdpau_gallium.so.1 || { rm -f 
libvdpau_gallium.so.1 && ln -s libvdpau_gallium.so.1.0.0 
libvdpau_gallium.so.1; }; })
libtool: install: (cd /usr/lib/vdpau && { ln -s -f 
libvdpau_gallium.so.1.0.0 libvdpau_gallium.so || { rm -f 
libvdpau_gallium.so && ln -s libvdpau_gallium.so.1.0.0 
libvdpau_gallium.so; }; })
libtool: install: /bin/install -c .libs/libvdpau_gallium.lai 
libtool: finish: PATH="/sbin:/bin:/usr/sbin:/usr/bin:/sbin" ldconfig -n 
Libraries have been installed in:

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
      during execution
    - add LIBDIR to the `LD_RUN_PATH' environment variable
      during linking
    - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
    - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
make  install-data-hook
make[5]: Entering directory 
   GEN      install-data-hook
ln: failed to create hard link 
‘//usr/lib/vdpau/libvdpau_radeonsi.so.1.0.0’ => 
‘.libs/libvdpau_gallium.so.1.0.0’: Invalid cross-device link
make[5]: Leaving directory 
make[4]: Leaving directory 
make[3]: Leaving directory 

More information about the mesa-dev mailing list