title: Mysql sys_exec Can't open shared library 'lib_mysqludf_sys.so' (errno: 11, wrong ELF class: ELFCLASS32)
body: <p>I am trying to use sys_exec to run native command on unix, but I've tried to put the plugin from <a href="https://github.com/mysqludf/lib_mysqludf_sys" rel="nofollow noreferrer">https://github.com/mysqludf/lib_mysqludf_sys</a></p>
  
  <p>Into the <code>/usr/lib/x86_64-linux-gnu/mariadb18/plugin#</code> but when I try to run this command below:</p>
  
  <p><code>create function sys_exec returns int soname 'lib_mysqludf_sys.so';</code></p>
  
  <p>I am receiving this response:</p>
  
  <p><code>ERROR 1126 (HY000): Can't open shared library 'lib_mysqludf_sys.so' (errno: 11, wrong ELF class: ELFCLASS32)</code></p>
  
  <p>It is MariaDB 15.1.</p>