[mythtv-users] mythbackend not starting on gentoo

stephen mythmail at nb.sympatico.ca
Thu Oct 20 22:37:16 EDT 2005



Nick Rosier wrote:

> On 10/20/05, Dirk grosse Osterhues <tud-gut at gmx.de> wrote:
> 
>>Nick Rosier wrote:
>>
>>>On 10/20/05, Dirk grosse Osterhues <tud-gut at gmx.de> wrote:
>>>
>>>
>>>>Hej,
>>>>
>>>>I forgot to say that after upgrading mysql I had no longer a
>>>>/usr/lib/libmysqlclient.so.12 (/usr/lib/libmysqlclient.so.14 exists). I
>>>>created the symlink myself and received the errors I already reported.
>>>>
>>>>Now I removed the symlink again and get the following output from
>>>>mythbackend (also after a recompile of mythtv):
>>>>
>>>>
>>>>
>>>>>QSqlDatabase: QMYSQL3 driver not loaded
>>>>>QSqlDatabase: available drivers:
>>>>>2005-10-20 12:15:28.424 New DB connection, total: 1
>>>>>2005-10-20 12:15:28.425 Unable to connect to database!
>>>>>2005-10-20 12:15:28.426 No error type from QSqlError?  Strange...
>>>>>2005-10-20 12:15:28.426 Failed to init MythContext, exiting.
>>>>
>>>>Any more ideas?
>>>
>>>
>>>remove that link you created and run revdep-rebuild. it will check all
>>>library dependencies and rebuild any builds that are missing some. you
>>>can run it with the option -p (pretend) to check what it's going to
>>>rebuild 1st.
>>
>>Thanks for that idea. In fact the problem was with qt which libmysql
>>mythtv wanted to use for access to the database. Now it works.
> 
> 
> After (major) upgrades it's allways a good thing to check dependencies
> with revdep-rebuild.
> 
> N.

Another handy little check is equery (from gentoolkit):

$ equery d mysql

will show a list of packages that depend on mysql.  Sometimes 
revdep-rebuild doesn't pick things up for me ...

stephen



More information about the mythtv-users mailing list