Comment 3 for bug 1595243

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

I have the same when building a kodi part which needs an ffmpeg part.

Sample:-

lp:~popey/+junk/kodibroken

Section of compile output:-

INSTALL libavutil/tea.h
INSTALL libavutil/lzo.h
INSTALL libavutil/avconfig.h
INSTALL libavutil/ffversion.h
INSTALL libavutil/libavutil.pc
checking for FFMPEG... yes
configure: error: "/usr/local/lib/libavcodec.a not found"
Command '['/bin/sh', '/tmp/tmplm3xc2k_', './configure', '--prefix=', '
--prefix=/usr/local']' returned non-zero exit status 1

Yet the libs are there:-

alan@gort:~/Development/Snappy/snappy-playpen/kodi/stage/usr/local/lib$ ls -l
total 235332
-rw-r--r-- 2 alan alan 155445764 Jun 28 13:56 libavcodec.a
-rw-r--r-- 2 alan alan 2660426 Jun 28 13:56 libavdevice.a
-rw-r--r-- 2 alan alan 22576468 Jun 28 13:56 libavfilter.a
-rw-r--r-- 2 alan alan 48644402 Jun 28 13:56 libavformat.a
-rw-r--r-- 2 alan alan 3299824 Jun 28 13:56 libavutil.a
-rw-r--r-- 2 alan alan 611876 Jun 28 13:56 libpostproc.a
-rw-r--r-- 2 alan alan 733604 Jun 28 13:56 libswresample.a
-rw-r--r-- 2 alan alan 6984888 Jun 28 13:56 libswscale.a
drwxrwxr-x 2 alan alan 4096 Jun 28 13:56 pkgconfig