/usr/libexec/ld-elf.so.1: Shared object libm.so.2 not found, required by my_print_defaults

Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"

Top Level » MySQL / MariaDB

/usr/libexec/ld-elf.so.1: Shared object libm.so.2 not found, required by my_print_defaultsLast Modified: May 15, 2005, 12:49 pm
some new FreeBSD systems use a newer version of libm.so, so just create a symbolic link back to libm.so.2:

ln -s libm.so.3 /lib/libm.so.2

If you do have this error, then likely the mysql install process also didn't work correctly.  To reinstall mysql (after making the symbolic link above, type:

cd /usr/local/directadmin/scripts
killall -9 mysqld
killall -9 mysqld_safe
./mysql.sh somerootpass da_admin someadminpass

If prompted to overwrite the data, hit 'y' (yes).  The values of the 2 passwords isn't too important, just as long as you remember them.  You'd only ever need to know them if you need to login to mysql manually to fix something.  The da_admin login/pass can always be found in /usr/local/directadmin/conf/mysql.conf.
Related Helpfiles
Error connecting to MySQL: Access denied for user: 'da_admin@localhost' (Using password: YES)

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST