[pkg-nvidia-devel] Bug#581570: Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory

Russ Allbery rra at debian.org
Fri May 14 00:36:53 UTC 2010

Andreas Beckmann <debian at abeckmann.de> writes:
> Stanislav Maslovski wrote:

>> A quick investigation showed that the previos versions shipped a
>> symlink (or it was somehow autogenerated) /usr/lib/libvdpau_nvidia.so that
>> was pointing to the backend library. I found that after the upgrade
>> this symlink was broken (it was still pointing to the old library in
>> /usr/lib that was not there anymore). I tried running ldconf but that

> If the symlink was not removed it was somehow autogenerated ... so we
> need to cleanup this in postinst ...

ldconfig automatically generates those symlinks, but the package needs to
own the symlink for it to be removed automatically by dpkg, I believe.
This is why all the bit in Policy about how the package must contain the
symlink *and* call ldconfig properly.

Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>

More information about the Pkg-nvidia-devel mailing list