Todays most confusing error message award goes to MySQL, for this error(?) message of mysqld_safe when trying to start the mysqld daemon:
db1:/usr/local/mysql# bin/mysqld_safe --user=mysql
Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/db1.pid
070713 14:16:50 mysqld ended
Finding the problem was easy...
db1:/usr/local/mysql# ldd bin/mysqld
librt.so.1 => /lib/librt.so.1 (0x00002b43be382000)
libdl.so.2 => /lib/libdl.so.2 (0x00002b43be48b000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00002b43be58f000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00002b43be6a4000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00002b43be7d8000)
libm.so.6 => /lib/libm.so.6 (0x00002b43be8f0000)
libstdc++.so.5 => not found
libc.so.6 => /lib/libc.so.6 (0x00002b43bea72000) …[Read more]