Didn't find 'avformat_open_input' Ubuntu
Created by: katrinabrock
We didn't find `avformat_open_input` in the libraries.
We look for it only as a sanity check to make sure the build
process is working as expected. It is not, so we must abort.
Please open a ticket at https://github.com/mikeboers/PyAV/issues
with the folowing information:
PyAV: 0.3.1
Python: 2.7.6 (default, Jun 22 2015, 17:58:13) \n[GCC 4.8.2]
platform: Linux-3.19.0-59-generic-x86_64-with-Ubuntu-14.04-trusty
extension_extra:
libraries: ['X11', 'Xext', 'Xv', 'avcodec', 'avdevice', 'avfilter', 'avformat', 'avutil', 'bz2', 'm', 'swresample', 'swscale', 'xcb', 'xcb-render', 'xcb-shape', 'xcb-xfixes', 'z']
library_dirs: ['/usr/local/lib']
include_dirs: ['/usr/local/include', 'include', '/usr/include/python2.7']
config_macros:
PYAV_VERSION=0.3.1
PYAV_VERSION_STR="0.3.1"
PYAV_COMMIT_STR="unknown-commit"
PYAV_HAVE_LIBSWRESAMPLE=1
PYAV_HAVE_AV_CALLOC=1
PYAV_HAVE_AV_FRAME_GET_BEST_EFFORT_TIMESTAMP=1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-A8DzRj/av/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-txMrAL-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-A8DzRj/av/
EDIT by @mikeboers: down the page I wrote:
I'm pretty sure there there is some sort of compilation error that arises during linking to the static library vs the dynamic ones. The "fix", I believe, is to discuss this in the error message, and expose a flag so that you can try again and print out all of the compiler errors.