Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113428 - mysql 5.0.x lib linkage resolving issues
Summary: mysql 5.0.x lib linkage resolving issues
Status: RESOLVED DUPLICATE of bug 113352
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2005-11-23 22:43 UTC by Christian Parpart (RETIRED)
Modified: 2005-11-24 00:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Christian Parpart (RETIRED) gentoo-dev 2005-11-23 22:43:00 UTC
when emerging dev-lang/php on a very fresh chroot(/system) it complains about
linkage errors to mysqlclient. 

Having a look at it, there *are* symlinks from
/usr/lib{,64}/libmysqlclient{,_r}.so to /usr/lib{,64}/mysql/$equiv.
However, these ${equiv}'s itself are just symlinks and seems *not* to
re-resolv these symlinks to its proper ${equiv}.15 (wich itself is
${equiv}.15.0.0}, though, I fixed it by the following:

# echo '/usr/lib/mysql:/usr/lib32/mysql:/usr/lib64/mysql' > /etc/env.d/50mysql
# env-update && source /etc/profile

Now I was able to emerge dev-lang/php, however, this looks quite quick'n'dirty,
in fact, this way, the mysql subdir within $libdir is quite redundant.

Any ideas? (and most whishfully, would you please include a fix to the ebuilds 
then, too?)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-24 00:47:33 UTC

*** This bug has been marked as a duplicate of 113352 ***