[mythtv] libGL.so linking error when building trunk on openSuse 11.1, may be nvidia related?

James L. Paul james at mauibay.net
Sat Sep 5 08:07:30 UTC 2009


Aloha, I suspect this may be related to the nvidia binary driver being installed, but am not sure. I have the nvidia binary
185.18.36-7.1 driver installed via yast from the default community repo, not via the nvidia .run install script. I had Mythbackend
0.20.2 running excellent on this system for months but was unable to get it working fully with my new HDHomerun so I am looking to
build a new version that does support the HDHR.

Attempts to build svn trunk version 21666 result in:

[snip normal build to this point]
cd mythtv/ && make -f Makefile
make[2]: Entering directory `/in/trunk/mythtv/programs/mythtv'
sh "/in/trunk/mythtv/version.sh" "/in/trunk/mythtv" ": http://svn.mythtv.org/svn/trunk/mythtv/version.pro "
g++ -m64 -o mythtv version.o main.o    -L/usr/lib64 -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavutil
-L../../libs/libavcodec -L../../libs/libavformat -L../../libs/libswscale -L../../libs/libmythdb -L../../libs/libmythui
-L../../libs/libmythupnp -lmythtv-0.22 -lmythavformat-0.22 -lmythavutil-0.22 -lmythavcodec-0.22 -lmythswscale-0.22 -lmythupnp-0.22
-lmyth-0.22 -lmythui-0.22 -lmythdb-0.22 -L../../libs/libmythlivemedia -lmythlivemedia-0.22 -L../../libs/libmythfreemheg
-lmythfreemheg-0.22 -L../../libs/libmythhdhomerun -lmythhdhomerun-0.22 -L/usr/X11R6/lib64 -lXxf86vm -lXv -lXvMCW -lXvMC
-L/usr/local/lib -lQtSql -L/usr/lib64 -pthread -pthread -lQtXml -pthread -pthread -lQtOpenGL -lGLU -lGL -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -lQtGui -pthread -lpng -lSM -lICE -pthread -pthread -lXi -lXrender -lXrandr -lXfixes
-lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtNetwork -pthread -pthread -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt
-lglib-2.0 -lpthread -ldl
/usr/lib64/libGL.so: undefined reference to `_nv001622gl'

/usr/lib64/libGL.so: undefined reference to `_nv001299gl'

/usr/lib64/libGL.so: undefined reference to `_nv001491gl'

/usr/lib64/libGL.so: undefined reference to `_nv001030gl'

/usr/lib64/libGL.so: undefined reference to `_nv000514gl'

/usr/lib64/libGL.so: undefined reference to `_nv000164gl'

/usr/lib64/libGL.so: undefined reference to `_nv000782gl'

[snip, hundreds of lines like these]

/usr/lib64/libGL.so: undefined reference to `_nv001822gl'
/usr/lib64/libGL.so: undefined reference to `_nv001419gl'
/usr/lib64/libGL.so: undefined reference to `_nv001069gl'
/usr/lib64/libGL.so: undefined reference to `_nv001454gl'
/usr/lib64/libGL.so: undefined reference to `_nv000807gl'
collect2: ld returned 1 exit status
make[2]: *** [mythtv] Error 1
make[2]: Leaving directory `/in/trunk/mythtv/programs/mythtv'
make[1]: *** [sub-mythtv-make_default] Error 2
make[1]: Leaving directory `/in/trunk/mythtv/programs'
make: *** [sub-programs-make_default-ordered] Error 2

It looks to me like I've got a version problem with the mesa libs, but I'm guessing since this is outside my area. I've tried
passing the --disable-opengl-video and --disable-opengl-vsync switches to configure in the hope it would not need to link to libGL,
but get the same error. This is for a backend-only machine anyway so I don't need to use the frontend on it.

Any tips for what to look for to fix this would be appreciated, the most recent binary mythtv packages I can find for openSuse 11.1
log the version string as "mythbackend version: 0.21.20080304-1 www.mythtv.org" which looks to me like it's 18 months old, 6 months
older than openSuse 11.1 itself, which I find confusing. It certainly isn't playing nice with my new HDHomerun, which is why I'd
like to test trunk.


More information about the mythtv-dev mailing list