Missing system libraries for python::requirements.txt
Issue
- Clients are facing errors while attempting to deploy with the requirements.txt via a git push. One of the typical error was:
remote: Activating virtenv
remote: Checking for pip dependency listed in requirements.txt file..
remote: Requirement already satisfied (use --upgrade to upgrade): Django==1.6.5 in /var/lib/openshift/GEAR_UUID/app-root/runtime/dependencies/python/virtenv/lib/python2.7/site-packages \
(from -r /var/lib/openshift/GEAR_UUID/app-root/runtime/repo/requirements.txt (line 1))
remote: Downloading/unpacking cffi==0.8.2 (from -r /var/lib/openshift/GEAR_UUID/app-root/runtime/repo/requirements.txt (line 3))
remote: Running setup.py egg_info for package cffi
remote: Package libffi was not found in the pkg-config search path.
remote: Perhaps you should add the directory containing `libffi.pc'
remote: to the PKG_CONFIG_PATH environment variable
remote: No package 'libffi' found
Environment
- OpenShift Enterprise 2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
