[mythtv-users] QMYSQL3 Error on Fedora FC4 x86_64

R. G. Newbury newbury at mandamus.org
Mon Jan 9 21:29:19 UTC 2006


e squid2 wrote:

> I don't think there is a multithreaded RPM for Fedora.  Don't see 
> anything on the updates sites and the spec file for qt-MySQL mentions 
> threading support.
>
> I have the same issue basically (qt3.3, mysql4.1, AMD64 bit playing 
> nicely).  Even recompiled qt against mysql-4.1.16 as both a mysql 
> plugin and with mysql support directly into QT.  (QT configure'd as:   
> ./configure -platform linux-g++-64 -I/usr/include/mysql -thread 
> -[plugin|qt]-sql-mysql -L/usr/lib -L/usr/lib64 -L/usr/lib64/mysql 
> -L/usr/lib64/nvidia-graphics-1.0-8178 -L/usr/X11R6/lib64 
> -L/usr/X11R6/lib -prefix /usr/lib64/qt-3.3, which compiled and 
> installed fine)
>
> Neither had any success.  Get the same output as Brian when running 
> mythtv-setup no matter what I do.  Strace just segfaults right before 
> the "QSqlDatabase: QMYSQL3 driver not loaded" (while mythtv-setup 
> continues running and complaining).
>
> |eric
>
> On 1/9/06, *Piers Kittel* <mythtv at biased.org 
> <mailto:mythtv at biased.org>> wrote:
>
>     I *think* you need the MT (multithread) version of the qt-mysql
>     driver -
>     I know this is from a Debian system but here you go:
>
>     ii  libqt3c102-mt-mysql 3.3.4-3        MySQL database driver for Qt3
>     (Threaded)
>
>     and taking from your list:
>
>     > qt-MySQL-3.3.4-15.4
>
>     I think you need the MT version - apt-cache search shows 2 versions of
>     the same library:
>
>     libqt3c102-mysql - MySQL database driver for Qt3
>     libqt3c102-mt-mysql - MySQL database driver for Qt3 (Threaded)
>
>     Of course, you can't apply the Debian package names for FC - but I
>     would
>     hazard a guess you need something like qt-MySQL-mt?  I can't have both
>     the above packages installed, I can only have one or the other.
>
>     Apologies if this doesn't apply for FC.
>
>     Cheers - Piers
>
>     Brian Fischer wrote:
>     > I followed Jarod's guide exactly as written using yum on my
>     system, but
>     > there seems to be an issue with the updated SQL drivers on a
>     clean install
>     > of FC4_64.  I had been reading different forums and it seems
>     like this one
>     > can be fixed by installing qt-MySQL. It was installed in my
>     environment
>     > though so I dont know what's wrong.  I was wondering what driver
>     versions
>     > people are working with for MySQL and provide me with a few
>     troubleshooting
>     > issues to get this issue resolved for everyone?  This issue is
>     also being
>     > tracked in FedoraForum.org
>     > http://forums.fedoraforum.org/forum/showthread.php?t=90875
>     >
>
I remember running across this problem. It turned out to be due to a 
change in name of the qt libraries, from something like 'qt' to 
'qt-3.3'. I don't remember how this eventually went away, but I remember 
attempting to fix it by seeding copies of libraries all over a 
replacement library tree.

You may want to look at the source for mythtv-setup to see what it is 
actually calling...it is probably trying to call something which does 
not exist on your system...

(I presume that you have actually included the qt libraries when 
installing mysql etc.)

Geoff




More information about the mythtv-users mailing list