[mythtv-users] Can't Find QT Library when Building
tgate
tgate at mypublic.net
Sat May 6 15:55:04 EDT 2006
> Problem is that the QT library is not being found. I have the
> following environment variables set:
>
> QTDIR=/usr/local/qt
> PATH=$QTDIR/bin:$PATH
> LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
>
> When building, I get errors like this...
>
> -snip-
> ../../libs/libmythtv/libmythtv-0.19.so: undefined reference to
> `QRegion::unite(QRegion const&) const'
> ../../libs/libmyth/libmyth-0.19.so: undefined reference to
> `QTable::hideColumn(int)'
> -snip-
>
> ...and many more like it...
>
> collect2: ld returned 1 exit status
I'm having the same problem when I finally get to this point of the
compile:
make[2]: Entering directory `/home/mythtv/build/mythtv-svn/mythtv/
programs/mythtv'
ccache g++ -Wl,-rpath,/usr/local/qt/lib -o mythtv main.o -L/usr/
local/qt/lib -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/
libavutil -L../../libs/libavcodec -L../../libs/libavformat -L../../
libs/libmythfreemheg -L../../libs/libmythui -L/usr/X11R6/lib64 -L/usr/
X11R6/lib -I/usr/X11R6/lib64 -I/usr/X11R6/lib -L/usr/local/qt/lib -I/
usr/local/qt/include -lmythtv-0.19 -lmythavformat-0.19 -
lmythavutil-0.19 -lmythavcodec-0.19 -lmythfreemheg-0.19 -lmyth-0.19 -
lmythui-0.19 -lfreetype -lmp3lame -lasound -L/usr/X11R6/lib -
lXinerama -lXv -lXxf86vm -lXrandr -lXvMCW -lXvMC -lGLU -lGL -lXmu -I/
usr/X11R6/lib64 -I/usr/X11R6/lib -lm -lpthread
Did you have any luck with a solution? Anyone?
More information about the mythtv-users
mailing list