/usr/sbin/mysqld: error while loading shared libraries: libaio.so.1: failed to map segment from shared object
Can't load mysqld! I get:
Wizard Earth:/
/usr/sbin/mysqld: error while loading shared libraries: libaio.so.1: failed to map segment from shared object
Wizard Earth:ldd /usr/sbin/mysqld
linux-vdso.so.1 (0x00007fff2028
libaio.so.1 => /lib/x86_
liblz4.so.1 => /usr/lib/
libnuma.so.1 => /usr/lib/
libwrap.so.0 => /lib/x86_
libcrypt.so.1 => /lib/x86_
libdl.so.2 => /lib/x86_
libz.so.1 => /lib/x86_
librt.so.1 => /lib/x86_
libpthread.so.0 => /lib/x86_
libstdc++.so.6 => /usr/lib/
libm.so.6 => /lib/x86_
libgcc_s.so.1 => /lib/x86_
libc.so.6 => /lib/x86_
/lib64/
libnsl.so.1 => /lib/x86_
Wizard Earth:ll /lib/x86_
lrwxrwxrwx 1 root root 15 Apr 1 20:39 /lib/x86_
Wizard Earth:file /lib/x86_
/lib/x86_
Googling yields that /tmp doesn't have exec and instructs you to remount /tmp with exec. However /tmp isn't mounted on my system and /tmp isn't a separate file system. Others say to create a new directory and set TMPDIR. Neither of these solutions solves anything for me.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu mysql-5.7 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask defaria for more information if necessary.