libavcodec.so symbols not found
Closed this issue · 1 comments
Sauraus commented
I just built all the images as per the README.md:
pushd build-stage && docker build -t denismakogon/gocv-alpine:4.0.1-buildstage .; popd
pushd runtime && docker build -t denismakogon/gocv-alpine:4.0.1-runtime .; popd
pushd example && docker build -t denismakogon/gocv-alpine:test .; popd
docker run --rm -ti denismakogon/gocv-alpine:test
Result:
Error loading shared library libfdk-aac.so.1: No such file or directory (needed by /usr/lib/libavcodec.so.58)
Error relocating /usr/lib/libavcodec.so.58: aacDecoder_ConfigRaw: symbol not found
Error relocating /usr/lib/libavcodec.so.58: aacDecoder_Close: symbol not found
Error relocating /usr/lib/libavcodec.so.58: aacDecoder_SetParam: symbol not found
Error relocating /usr/lib/libavcodec.so.58: aacDecoder_AncDataInit: symbol not found
Error relocating /usr/lib/libavcodec.so.58: aacDecoder_DecodeFrame: symbol not found
Error relocating /usr/lib/libavcodec.so.58: aacEncoder_SetParam: symbol not found
Error relocating /usr/lib/libavcodec.so.58: aacDecoder_Fill: symbol not found
Error relocating /usr/lib/libavcodec.so.58: aacDecoder_GetStreamInfo: symbol not found
Error relocating /usr/lib/libavcodec.so.58: aacEncClose: symbol not found
Error relocating /usr/lib/libavcodec.so.58: aacDecoder_Open: symbol not found
Error relocating /usr/lib/libavcodec.so.58: aacEncInfo: symbol not found
Error relocating /usr/lib/libavcodec.so.58: aacEncOpen: symbol not found
Error relocating /usr/lib/libavcodec.so.58: aacEncEncode: symbol not found
Sauraus commented
I had to rebuild all images leading up to this for it work, all the way from your alpine-ffmpeg-golang image.