Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160989 - dev-db/mysql missing post install steps
Summary: dev-db/mysql missing post install steps
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-08 20:29 UTC by simishag
Modified: 2007-01-08 21:44 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 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.