[mythtv-users] build failure, libGL.so not found due to missing -L/usr/lib/nvidia

Doug's Junk dj at sebabeach.org
Sun May 27 04:07:23 UTC 2007


[tree = current 0.20 branch]

g++  -o mythtv main.o    -L/usr/lib/qt-3.3/lib -L../../libs/libmyth
-L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec
-L../../libs/libavformat -L../../libs/libmythfreemheg -L../../libs/libmythui
-L../../libs/libmythupnp -L../../libs/libmythlivemedia -lmythtv-0.20.1
-lmythavformat-0.20.1 -lmythavutil-0.20.1 -lmythavcodec-0.20.1
-lmythfreemheg-0.20.1 -lmythupnp-0.20.1 -lmythlivemedia-0.20.1 -lmyth-0.20.1
-lmythui-0.20.1 -lfreetype -lmp3lame -lasound -L/lib -lartsc -lgmodule-2.0 -ldl
-lgthread-2.0 -lrt -lglib-2.0 -lraw1394 -liec61883 -lavc1394 -lXinerama -lXv
-lXxf86vm -lXrandr -lXvMCW -lXvMC -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm
-lpthread
/usr/bin/ld: cannot find -lGL


Switching to nvidia's 9631 driver (because later versions have various
problems) has moved libGL.so into /usr/lib/nvidia.

It seems like there is no longer a good way to add missing linker args when
configuring mythtv so I'm having to hack in a solution.  I'm guessing there was
a good reason for disabling --extra-ldflags (or some such), but is there an
alternative?


More information about the mythtv-users mailing list