FS#19927 - softlink of libvdpau_nvidia.so could be in /usr/lib

Attached to Project: Arch Linux
Opened by avo gatro (avogatro) - Wednesday, 23 June 2010, 15:32 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 23 June 2010, 20:07 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
mplayer/libvdpau can't find libvdpau_nvidia.so,
because existing link in /usr/lib is relativ, or incorrect

mplayer output:
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory

possible solution:

ln -sf ${pkgdir}/usr/lib/vdpau/libvdpau_nvidia.so.${pkgver} "${pkgdir}/usr/lib/libvdpau_nvidia.so.1"

Additional info:
* package version(s) 195.36.31-1
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 23 June 2010, 20:07 GMT
Reason for closing:  Works for me
Comment by avo gatro (avogatro) - Wednesday, 23 June 2010, 15:41 GMT
I forgot to mention the package:
nvidia-utils
Comment by Ionut Biru (wonder) - Wednesday, 23 June 2010, 16:33 GMT
vdpau support works out of the box with the version that you are using
Comment by Ionut Biru (wonder) - Wednesday, 23 June 2010, 16:34 GMT
can you do a ls in /usr/lib/vdpau/ ?
Comment by Jan de Groot (JGC) - Wednesday, 23 June 2010, 16:50 GMT
According to strace:

open("/usr/lib/vdpau/libvdpau_nvidia.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

After which it traverses all locations in /etc/ld.so.conf for a file called libvdpau_nvidia.so
nvidia-utils contains the required library and symlink.

Loading...