title: ImportError: Unable to find zbar shared library on Flask
body: <p>Im trying to use pyzbar 0.1.4 on a Flask Server in Docker</p>
  
  <p>The image was created by us, based in python 2.7 taken from alpine.</p>
  
  <p>Install ZBar by</p>
  
  <pre><code>apk update
  apk add zbar
  </code></pre>
  
  <p>Im getting the following error when running dockerfile
  <code>
  File "/usr/lib/python2.7/site-packages/pyzbar/pyzbar.py", line 8, in &lt;module&gt;
     from .wrapper import (
   File "/usr/lib/python2.7/site-packages/pyzbar/wrapper.py", line 166, in &lt;module&gt;
     c_uint_p,    # minor
   File "/usr/lib/python2.7/site-packages/pyzbar/wrapper.py", line 159, in zbar_function
     return prototype((fname, load_libzbar()))
   File "/usr/lib/python2.7/site-packages/pyzbar/wrapper.py", line 135, in load_libzbar
     raise ImportError('Unable to find zbar shared library')
  ImportError: Unable to find zbar shared library
  </code></p>
  
  <p>Im trying to decode a QR image using that library</p>
  
  <p>Dockerfile</p>
  
  <pre><code>FROM buffetcontainerimages.azurecr.io/base/buffetcloud-python:0.1
  RUN pip install --upgrade pip setuptools wheel
  COPY wheeldir /opt/app/wheeldir
  COPY *requirements.txt /opt/app/src/
  RUN pip install --use-wheel --no-index --find-links=/opt/app/wheeldir \
  -r /opt/app/src/requirements.txt
  RUN pip install --use-wheel --no-index --find-links=/opt/app/wheeldir \
  -r /opt/app/src/test-requirements.txt
  COPY . /opt/app/src/
  WORKDIR /opt/app/src
  RUN python setup.py install
  EXPOSE 5000
  CMD dronedemo
  </code></pre>
  
  <p>And requirements.txt</p>
  
  <pre><code>requests&gt;=2.18.4
  flask&gt;=0.12.2
  mechanize&gt;=0.3.6
  regex&gt;=2.4.136
  PyPDF2&gt;=1.26.0
  bs4&gt;=4.5.3
  pyzbar&gt;=0.1.4
  openpyxl&gt;=2.5.0
  selenium&gt;=3.9.0
  matplotlib&gt;=2.1.2
  </code></pre>
  
  <p>When pip install zbar
  `
  pip install zbar
  Collecting zbar
  Downloading zbar-0.10.tar.bz2
  ...
  zbarmodule.h:26:18: fatal error: zbar.h: No such file or directory</p>
  
  <h1>include </h1>
  
  <p>compilation terminated.
  error: command 'gcc' failed with exit status 1
  `</p>