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

Bug 160989

Summary: dev-db/mysql missing post install steps
Product: Gentoo Linux Reporter: simishag <simishag>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description simishag 2007-01-08 20:29:22 UTC
dev-db/mysql is missing post install steps:

1) The current ebuilds of mysql install shared libraries into /usr/lib/mysql. This is a change from the previous location of /usr/lib. The current ebuilds do not create an entry in /etc/env.d with the appropriate LDPATH. Accordingly, ldconfig does not pick up the shared libs. This is particularly annoying if older libs (from a previous install) are still in /usr/lib. ldconfig will show libmysqlclient.so.12, which is an outdated version (the new one is .15).

2) Related to above: Any ebuilds which rely on mysql need to include -L/usr/lib/mysql in the linker flags, or they will not find the necessary libraries. Can this be fixed with a system-wide setting, or does every application's ebuild need to be updated?

Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-08 21:44:47 UTC
1/ You shouldn't have any outdated libmysqlclient versions installed at all.
2/ Reopen with exact mysql version and equery f dev-db/mysql output attached.

Thanks.