Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154208 - media-tv/mythtv-0.20_p11626 QMYSQL3 driver not loaded
Summary: media-tv/mythtv-0.20_p11626 QMYSQL3 driver not loaded
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-05 22:58 UTC by Robert Lippmann
Modified: 2006-11-06 15:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Lippmann 2006-11-05 22:58:01 UTC
Running emerge -NuD world today upgraded both mysql to 5.0.26-r1 and mythtv to 0.20_p11626 , so I'm not sure which is causing the problem.

But, after the emerge, mythbackend won't start, and running mythfrontend generate the same error:

QSqlDatabase: QMYSQL3 driver not loaded
QSqlDatabase: available drivers:
2006-11-06 01:26:33.751 New DB connection, total: 1
2006-11-06 01:26:33.751 Unable to connect to database!
2006-11-06 01:26:33.752 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open

I checked the ebuild, and I don't think this is a duplicate of bug 152631 (http://bugs.gentoo.org/show_bug.cgi?id=152631) as the mysql ebuild has the correct quotes.

emerge --info:

Portage 2.1.2_rc1-r3 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.12.6
Last Sync: Mon, 06 Nov 2006 03:30:07 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac acpi alsa apache2 apm arts asf audiofile berkdb bitmap-fonts bzip2 cdda cdio cdparanoia cdr clamav cli cracklib crypt cups curl dga dlloader dpms dri dts dvb dvd dvdread elibc_glibc encode esd exif fam ffmpeg firefox flac foomaticdb gdbm gif gimp gmp gphoto2 gpm gstreamer gtk gtk2 hal i8x0 iconv imagemagick imap imlib innodb input_devices_evdev input_devices_keyboard input_devices_mouse ipod isdnlog java jpeg jpeg2k kde kernel_linux lcms libclamav libg++ libwww lirc lirc_devices_hauppauge live lm_sensors logrotate mad maildir mikmod mmx mmxext mng motif mp3 mpeg mplayer msn mythtv nas ncurses nls nptl nptlonly nsplugin ogg opengl oracle pam pcre perl pic png ppds pppd python qt3 qt4 quicktime readline real reflection rtc samba scanner sdl session spell spl sse sse2 ssl svga tcpd tetex theora threads tiff transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_fbdev video_cards_i810 video_cards_i830 video_cards_i915 video_cards_v4l video_cards_vesa visualization vorbis win32codecs wxwindows xine xinerama xml xml2 xorg xosd xv xvid xvmc yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 donald webster 2006-11-06 14:48:14 UTC
You probably need to re-compile QT against your new version of MySQL.  Just a guess.  Did you try for any help/support before posting the bug?
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2006-11-06 15:50:27 UTC
If you upgraded to mysql 5.0 from 4.1 then your .so version changed on your mysql libraries. Which means you need to run revdep-rebuild to fix your entire system. At the very least you need to re-emerge qt against your new mysql. You'll probably bump into some other issues along the way, hence why you should follow the upgrade instructions for MySQL.