title: Reinstall libprotobuf.so files in /usr/lib/x86_64-linux-gnu
body: <p>While encountering problems updating protobuf to 3.1 I foolishly ended up removing the libprotbuf* files in /usr/lib/x86_64-linux-gnu</p>
  
  <p>Fortunately Protoc --version now outputs "libprotoc 3.1.0", but I am now trying to get the libprotobuf.so files back. When trying to use things that link to protobuf like matplotlib.pyplot I get an error like</p>
  
  <blockquote>
    <p>** (process:15246): WARNING **: Failed to load shared library 'libgdk-3.so.0' referenced by the typelib: libprotobuf-lite.so.9: cannot open shared object file: No such file or directory</p>
  </blockquote>
  
  <p>I have been able to reinstall some of libprotobuf files but the .so files are still missing.</p>
  
  <pre><code>$ ll /usr/lib/x86_64-linux-gnu/libprotobuf*
  
  -rw-r--r-- 1 root root 2.3M Oct 23  2015 /usr/lib/x86_64-linux-gnu/libprotobuf.a
  -rw-r--r-- 1 root root 387K Oct 23  2015 /usr/lib/x86_64-linux-gnu/libprotobuf-lite.a
  lrwxrwxrwx 1 root root   25 Oct 23  2015 /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so -&gt; libprotobuf-lite.so.9.0.1
  lrwxrwxrwx 1 root root   20 Oct 23  2015 /usr/lib/x86_64-linux-gnu/libprotobuf.so -&gt; libprotobuf.so.9.0.1
  </code></pre>
  
  <p>Anyone know a way to recover the protobuf.so.9.0.1 and libprotobuf-lite.so.9.0.1 files in ubuntu 16.04?</p>