Merge lp:~jamesbeedy/charms/trusty/docker/fix_apt_dep into lp:charms/trusty/docker
Proposed by
james beedy
Status: | Needs review |
---|---|
Proposed branch: | lp:~jamesbeedy/charms/trusty/docker/fix_apt_dep |
Merge into: | lp:charms/trusty/docker |
Diff against target: |
12 lines (+3/-0) 1 file modified
playbooks/install-or-upgrade.yaml (+3/-0) |
To merge this branch: | bzr merge lp:~jamesbeedy/charms/trusty/docker/fix_apt_dep |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Review Queue (community) | automated testing | Needs Fixing | |
Kevin W Monroe | Needs Information | ||
Review via email: mp+300544@code.launchpad.net |
Description of the change
Add apt dep libssl-dev. Fixes install-hook failure & Bug #1604618.
To post a comment you must log in.
Unmerged revisions
- 11. By james beedy
-
add libssl-dev dep
Fixes Bug #1604618
Hello James,
The code merged cleanly and was a very small change, but still see errors when deploying the local charm.
2016-07-27 22:14:11 INFO install build/temp. linux-x86_ 64-2.7/ _openssl. c:429:30: fatal error: openssl/opensslv.h: No such file or directory
After sshing to the unit the install- or-upgrade. yaml file was updated with the change, but the libssl-dev was not installed by the install hook.
For reference here is an AskUbuntu question that looks similar.: http:// askubuntu. com/questions/ 797351/ fatal-error- openssl- opensslv- h-no-such- file-or- directory- compiling- mitmproxy
It seems the system needs a few additional packages as well:
sudo apt-get install python-pip python-dev libffi-dev libssl-dev libxml2-dev libxslt1-dev libjpeg8-dev zlib1g-dev
We just need to find out how to get those packages installed early enough so the install hook does not fail.