Emerging mysql on amd64 causes the executables in /usr/bin and /usr/sbin to be named incorrectly. All executables have 'x86_64-pc-linux-gnu-' prepended to their usual names. (I've also seen this with Gaim.) This happens with mysql 4.0.22. I don't know what my previous version was, but it did not have this problem. This problem causes mysql not to start at boot or with '/etc/init.d/mysql start'. Reproducible: Always Steps to Reproduce: 1. 'emerge mysql' 2. Check /usr/bin and /usr/sbin Actual Results: Executables have names which start with 'x86_64-pc-linux-gnu-'. Expected Results: Executables should not have this prefix. This is a simple problem. This Perl script effects a workaround: #!/usr/bin/perl foreach (glob "x86_64-pc-linux-gnu-*") { if (m/x86_64-pc-linux-gnu-(\S+)$/) { symlink($_, $1); } } Run it with root priveleges in /usr/bin and /usr/sbin to create symlinks with the proper names.
This is a gcc-config bug, not a mysql bug. Please see bug #74460 for how to fix this. *** This bug has been marked as a duplicate of 74460 ***