Add LD_LIBRARY_PATH to access snap's DLLs

When this snap is built on xenial, ngnix is unable to find libgd.so.3.
Updating LD_LIBRARY_PATH to include the path to libgd.so.3 fixes this.

Change-Id: I1920e84b4888369d56bd46869381c9649934a311
This commit is contained in:
Corey Bryant 2017-04-19 14:16:17 +00:00
parent 9d6d47d1c4
commit 8d576d0abb
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ grade: devel
environment:
PATH: $PATH:$SNAP/bin/:$SNAP/usr/sbin
PYTHONPATH: $PYTHONPATH:$SNAP/lib/python2.7/site-packages
LD_LIBRARY_PATH: $SNAP/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
apps:
uwsgi: