** Description changed:
Binary package hint: nvidia-glx
I came across this when trying to ./configure mplayer with the
--enable-xvmc
flag to enable XvMC for nVidia, as described here:
http://www.penlug.org/twiki/bin/view/Main/LinuxHardwareInfoNvidia5200
The mplayer configure script
./configure --enable-xvmc
performs the following test compilation, to see whether the XvMC
libraries for NVIDIA are available (This appears to be the correct way):
cc -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math -fomit-frame-
pointer -o test.o test.c -lXvMC -lXvMCNVIDIA -lXv -L/usr/X11R6/lib
-lXext -lX11 -lnsl -lpthread
where the file test.c contains the following:
#include <X11/Xlib.h>
#include <X11/extensions/Xvlib.h>
#include <X11/extensions/XvMClib.h>
int main(void) {
(void) XvMCQueryExtension(0,0,0);
(void) XvMCCreateContext(0,0,0,0,0,0,0);
return 0; }
Unless the symbolic link /usr/lib/libXvMCNVIDIA.so exists, and points
to libXvMCNVIDIA.so.1 the above compile/link command fails as follows:
/usr/bin/ld: cannot find -lXvMCNVIDIA
collect2: ld returned 1 exit status
I tried using "ldconfig" but it didn't help. It seems to me that at
- the moment on Dapper Drake, the only workaround
- that works for me is to manually create the symbolic link, like this:
+ the moment on Dapper Drake (and still now with Feisty Fawn beta),
+ the only workaround that works for me is to manually create
+ the symbolic link, like this:
cd /usr/lib && sudo ln -s libXvMCNVIDIA.so.1 libXvMCNVIDIA.so
I'm not sure if this is a bug in the nvidia-glx package,
or where the bug belongs, but it seems there's a symbolic link
missing somewhere. This missing symlink was also mentioned
by Michael Holland on the MPlayer-users list:
http://lists.mplayerhq.hu/pipermail/mplayer-users/2006-July/061343.html
Thanks for reading.
--
symbolic link libXvMCNVIDIA.so missing in package nvidia-glx
https://launchpad.net/bugs/58741
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs