[mythtv-users] ld: cannot find -lXvMCNVIDIA

R. G. Newbury newbury at mandamus.org
Mon Oct 27 17:53:38 UTC 2008


Wendel, Ryan wrote:
> I'm having trouble compiling MythTV (from svn). I get the following error upon trying to compile:
> 
> /usr/bin/ld: cannot find -lXvMCNVIDIA
> collect2: ld returned 1 exit status
> 
> Here is my config command:
> 
> ./configure --enable-xvmc-opengl --xvmc-lib=XvMCNVIDIA --prefix=/usr/local --enable-proc-opt
> 
> The subsequent video output:
> 
> x11 support               yes
> xrandr support            yes
> xv support                yes
> XvMC support              yes
> XvMC VLD support          no
> XvMC pro support          no
> XvMC OpenGL sup.          yes
> XvMC libs                 -lXvMCNVIDIA
> OpenGL video              no
> OpenGL vsync              no
> DirectFB                  no
> Fribidi formatting        no
> MHEG support              yes
> 
> Uname output:
> 
> # uname -a
> Linux media 2.6.26.6-79.fc9.i686 #1 SMP Fri Oct 17 14:52:14 EDT 2008 i686 athlon i386 GNU/Linux
> 
> The contents of /usr/lib/nvidia
> 
> # ls -lh /usr/lib/nvidia/| awk '{print $8" "$9" "$10}'
> 
> libcuda.so -> libcuda.so.173.14.12
> libcuda.so.1 -> libcuda.so.173.14.12
> libcuda.so.173.14.12
> libGLcore.so -> libGLcore.so.173.14.12
> libGLcore.so.1 -> libGLcore.so.173.14.12
> libGLcore.so.173.14.12
> libGL.so -> libGL.so.173.14.12
> libGL.so.1 -> libGL.so.173.14.12
> libGL.so.173.14.12
> libnvidia-cfg.so.1 -> libnvidia-cfg.so.173.14.12
> libnvidia-cfg.so.173.14.12
> libnvidia-tls.so.1 -> libnvidia-tls.so.173.14.12
> libnvidia-tls.so.173.14.12
> libXvMCNVIDIA.a
> libXvMCNVIDIA_dynamic.so.1 -> libXvMCNVIDIA.so.173.14.12
> libXvMCNVIDIA.so -> libXvMCNVIDIA.so.173.14.12
> libXvMCNVIDIA.so.1 -> libXvMCNVIDIA.so.173.14.12
> libXvMCNVIDIA.so.173.14.12
> tls
> 
> ldconfig output:
> 
> # ldconfig -p | grep -i nvidia
>         libnvidia-tls.so.1 (ELF, hwcap: 0x8000000000000000, OS ABI: Linux 2.3.99) => /usr/lib/nvidia/tls/libnvidia-tls.so.1
>         libnvidia-tls.so.1 (ELF, OS ABI: Linux 2.2.5) => /usr/lib/nvidia/libnvidia-tls.so.1
>         libnvidia-cfg.so.1 (libc6) => /usr/lib/nvidia/libnvidia-cfg.so.1
>         libkwinnvidiahack.so.4 (libc6) => /usr/lib/libkwinnvidiahack.so.4
>         libcuda.so.1 (libc6) => /usr/lib/nvidia/libcuda.so.1
>         libcuda.so (libc6) => /usr/lib/nvidia/libcuda.so
>         libXvMCNVIDIA_dynamic.so.1 (libc6) => /usr/lib/nvidia/libXvMCNVIDIA_dynamic.so.1
>         libGLcore.so.1 (ELF) => /usr/lib/nvidia/libGLcore.so.1
>         libGLcore.so (ELF) => /usr/lib/nvidia/libGLcore.so
>         libGL.so.1 (libc6) => /usr/lib/nvidia/libGL.so.1
>         libGL.so (libc6) => /usr/lib/nvidia/libGL.so
> 
> The rpms I believe to be relevant:
> 
> # rpm -qa | grep -i nvidia
> kmod-nvidia-173.14.12-5.lvn9.1.i686
> kmod-nvidia-2.6.26.6-79.fc9.i686-173.14.12-5.lvn9.1.i686
> xorg-x11-drv-nvidia-devel-173.14.12-1.lvn9.i386
> xorg-x11-drv-nvidia-173.14.12-1.lvn9.i386
> xorg-x11-drv-nvidia-libs-173.14.12-1.lvn9.i386
> 
> # rpm -qa | grep -i xvmc
> libXvMC-devel-1.0.4-4.fc9.i386
> libXvMC-1.0.4-4.fc9.i386
> 
> I'm stumped. Can anyone shine some light on this for me? I have also tried compiling the fixes branch but end up with the same compile error.


Check /etc/ld.so.conf. It probably does NOT have /usr/lib/nvidia listed, 
so ld never looks there..


Geoff



-- 
         Please let me know if anything I say offends you.
          I may wish to offend you again in the future.

          Tux says: "Be regular. Eat cron flakes."


More information about the mythtv-users mailing list