[mythtv-users] SLAX and Mythtv 0.20.2 Qt errors

babobba babobba at gmail.com
Thu Apr 3 02:43:54 UTC 2008


Hi I have been unsuccessfully trying to get my SLAX setup to run Myth
0.20.2.  However I am getting a lot of QT errors when I run
mythfrontend.  I tracked it down to the fact that SLAX did not have a
QT mysql plugin, which I compiled and installed.  Yet these problems
persist with QtSQL errors.  I have posted my problem in the SLAX
Forums [http://www.slax.org/forum.php?action=view&parentID=4802] as
well.  But I figure somebody here has come close to compiling from
scratch and has probably solved this already.

Some here's the basic debug output I have at this point.

I get the following errors when I run mythfrontend.

 2008-04-02 23:09:04.793 Using runtime prefix = /usr
 2008-04-02 23:09:04.816 DPMS is active.
 QSqlDatabase: QMYSQL3 driver not loaded
 QSqlDatabase: available drivers: (null)

So I compiled the mysql driver from the docs at trolltech.  Compiled
without any errors except mythfrontend displays same above errors even
after moving it to the right qt path and running ldconfig.

 The strange part is after I run ldconfig or after I run mythtv, the
following entry appears in /root/.qt/qt_plugins_3.3rc

 [usr]
 lib/kde3/plugins/styles/plastik.so=30300^e3^ei686 Linux g++-4
full-config^e2008-02-26T01:09:54^e
 lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so=30300^e1^ei686 Linux
g++-4 full-config no-opengl^e2008-04-02T22:30:13^e
 lib/qt/plugins/designer/libcppeditor.so=30306^e3^ei686 Linux g++-3.*
full-config^e2006-03-31T03:54:56^e

 So it clearly knows that it's there and to make this even more
puzzling is this strace output.

 uname({sys="Linux", node="slax", ...}) = 0
 ioctl(5, FIONREAD, [1]) = 0
 access("/usr/lib/kde3/plugins/sqldrivers/.", F_OK) = -1 ENOENT (No
such file or
 directory)
 access("/root/.kde/lib/kde3/plugins/sqldrivers/.", F_OK) = -1 ENOENT
(No such fi
 le or directory)
 access("/usr/lib/qt-3.3.8b/plugins/sqldrivers/.", F_OK) = 0
 open("/usr/lib/qt-3.3.8b/plugins/sqldrivers",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_
 DIRECTORY|0x80000) = 7
 fstat64(7, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
 getdents64(7, /* 3 entries */, 4096) = 88
 lstat64("/usr/lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so",
{st_mode=S_IFRE
 G|0755, st_size=48272, ...}) = 0
 getdents64(7, /* 0 entries */, 4096) = 0
 close(7) = 0
 ++++access("/usr/lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so", F_OK) = 0
 ++++access("/usr/lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so", F_OK) = 0
 lstat64("/usr/lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so",
{st_mode=S_IFRE
 G|0755, st_size=48272, ...}) = 0
 access("/usr/lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so", F_OK) = 0
 access("/root/.qt", F_OK) = 0
 lstat64("/root/.qt", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
 access("/usr/lib/qt-3.3.8b/etc/settings/qt_plugins_3.3rc", F_OK) = -1
ENOENT (No
 such file or directory)
 access("/root/.qt/qt_plugins_3.3rc", F_OK) = 0
 open("/root/.qt/.qt_plugins_3.3rc.lock", O_RDWR|O_CREAT|O_LARGEFILE, 0600) = 7
 fcntl64(7, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET, start=0,
len=0}, 0xbfa234
 14) = 0
 open("/root/.qt/qt_plugins_3.3rc", O_RDONLY|O_LARGEFILE) = 8
 fstat64(8, {st_mode=S_IFREG|0644, st_size=2454, ...}) = 0
 fstat64(8, {st_mode=S_IFREG|0644, st_size=2454, ...}) = 0
 fstat64(8, {st_mode=S_IFREG|0644, st_size=2454, ...}) = 0
 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb7
 f06000
 read(8, "[opt]\nkde/lib/kde3/plugins/desig"..., 4096) = 2454
 fstat64(8, {st_mode=S_IFREG|0644, st_size=2454, ...}) = 0
 fstat64(8, {st_mode=S_IFREG|0644, st_size=2454, ...}) = 0
 fstat64(8, {st_mode=S_IFREG|0644, st_size=2454, ...}) = 0
 fstat64(8, {st_mode=S_IFREG|0644, st_size=2454, ...}) = 0
 fstat64(8, {st_mode=S_IFREG|0644, st_size=2454, ...}) = 0
 fstat64(8, {st_mode=S_IFREG|0644, st_size=2454, ...}) = 0
 fstat64(8, {st_mode=S_IFREG|0644, st_size=2454, ...}) = 0
 close(8) = 0
 munmap(0xb7f06000, 4096) = 0
 fcntl64(7, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=0,
len=0}, 0xbfa234
 48) = 0
 close(7) = 0
 ++++access("/usr/lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so", F_OK) = 0
 >>>>>>>>write(2, "QSqlDatabase: QMYSQL3 driver not"..., 40) = 40
 access("/usr/lib/kde3/plugins/sqldrivers/.", F_OK) = -1 ENOENT (No
such file or
 directory)
 access("/root/.kde/lib/kde3/plugins/sqldrivers/.", F_OK) = -1 ENOENT
(No such fi
 le or directory)
 access("/usr/lib/qt-3.3.8b/plugins/sqldrivers/.", F_OK) = 0
 open("/usr/lib/qt-3.3.8b/plugins/sqldrivers",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_
 DIRECTORY|0x80000) = 7
 fstat64(7, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
 getdents64(7, /* 3 entries */, 4096) = 88
 lstat64("/usr/lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so",
{st_mode=S_IFRE
 G|0755, st_size=48272, ...}) = 0
 getdents64(7, /* 0 entries */, 4096) = 0
 close(7) = 0
 access("/usr/lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so", F_OK) = 0
 access("/usr/lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so", F_OK) = 0
 lstat64("/usr/lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so",
{st_mode=S_IFRE
 G|0755, st_size=48272, ...}) = 0
 access("/usr/lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so", F_OK) = 0
 access("/usr/lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so", F_OK) = 0
 access("/usr/lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so", F_OK) = 0
 access("/usr/lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so", F_OK) = 0
 lstat64("/usr/lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so",
{st_mode=S_IFRE
 G|0755, st_size=48272, ...}) = 0
 access("/usr/lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so", F_OK) = 0
 access("/usr/lib/qt-3.3.8b/plugins/sqldrivers/libqsqlmysql.so", F_OK) = 0
 >>>>>>write(2, "QSqlDatabase: available drivers:"..., 40) = 40
 time(NULL) = 1207179312
 gettimeofday({1207179312, 596578}, NULL) = 0
 time(NULL) = 1207179312
 gettimeofday({1207179312, 596713}, NULL) = 0


 I don't understand why even after it finds the libraries it fails to
load them into memory.

 Any ideas ?


More information about the mythtv-users mailing list