title: /usr/sbin/mysqld: error while loading shared libraries: liblz4.so.1: cannot open shared object file: Permission denied
body: <p>I'm <a href="https://downloads.mariadb.org/mariadb/repositories/#mirror=digitalocean-sgp" rel="noreferrer">installing mariadb on ubuntu 16.04</a>.</p>
  
  <p>After Installed, when I run mysql status/start, it always throws the below error</p>
  
  <pre><code>root@3ab94b27a215:~# service mysql status
  /usr/sbin/mysqld: error while loading shared libraries: liblz4.so.1: cannot open shared object file: Permission denied
  * MariaDB is stopped. 
  </code></pre>
  
  <p>I find the file here</p>
  
  <pre><code>root@3ab94b27a215:~# find / -name liblz4.so.1
  /usr/lib/x86_64-linux-gnu/liblz4.so.1
  </code></pre>
  
  <p>I set 777 permission to /usr/lib/x86_64-linux-gnu/liblz4.so.1</p>
  
  <pre><code>chmod 777  /usr/lib/x86_64-linux-gnu/liblz4.so.1
  </code></pre>
  
  <p>but still the error not resolved.</p>
  
  <p>can you please help me on this?</p>