Problem was the the name looked for 'libgs' on linux platform it should
be 'gs'. On Ubuntu 16.04 find_library gives 'libgs.so.9'
Last, but not least, LaTeX packages... (not small ones indeed!)
```
sudo apt-get install texlive-base
sudo apt-get install texlive-latex-extra
sudo apt-get install texlive-fonts-extra
```
homebrew_libgs = '/usr/local/opt/ghostscript/lib/libgs.dylib'
if os.path.exists(homebrew_libgs):
default_params['libgs'] = homebrew_libgs
+ if sys.platform == 'linux':
+ default_params['libgs'] = find_library('gs')
if not default_params['libgs']:
print('Warning: libgs not found')