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 ld.so 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?)
*** This bug has been marked as a duplicate of 113352 ***