Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 156796

Summary: mythtv 0.20 cannot connect to mysql 5.0
Product: Gentoo Linux Reporter: Didier DRIGUES <didierdrigues>
Component: Current packagesAssignee: Television related Applications in Gentoo's Portage <media-tv>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Didier DRIGUES 2006-12-01 05:55:43 UTC
After a portage update (from mythtv 0.19 to mythtc 0.20),
mythbackend can't connect to database :

QSqlDatabase: QMYSQL3 driver not loaded mythtv

The reason is that it try to access to an hardcoded version of libmysqlclient
(libmysqlclient.so.14) instead of the symbolic link libmysqlclient.so.

Immediate workaround is to make a fake of libmysqlclient.so.14
# ln -s libmysqlclient.so.15 libmysqlclient.so.14
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-01 06:24:07 UTC
Don't restrict bugs without any reason. Just leave the checkboxes alone.

revdep-rebuild --library libmysqlclient.so.14; don't symlink any stuff there.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2006-12-01 15:52:31 UTC
Basically Jakub answered it. The thing to re-emerge is qt and make sure you have the mysql USE flag on.
Comment 3 Didier DRIGUES 2006-12-04 08:26:35 UTC
(In reply to comment #1)
> Don't restrict bugs without any reason. Just leave the checkboxes alone.
> revdep-rebuild --library libmysqlclient.so.14; don't symlink any stuff there.

ok,
revdep-rebuild corrects all my broken libs.

Thanks for help