Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156796 - mythtv 0.20 cannot connect to mysql 5.0
Summary: mythtv 0.20 cannot connect to mysql 5.0
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Other
: High normal
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-01 05:55 UTC by Didier DRIGUES
Modified: 2006-12-04 08:26 UTC (History)
0 users

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 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