I am tryinng to compile tutorial1.c
for ffmpeg
available here.
Program returns this error :
/usr/bin/ld: cannot find -lavutil
/usr/bin/ld: cannot find -lavformat
/usr/bin/ld: cannot find -lavcodec
/usr/bin/ld: cannot find -lavutil
collect2: error: ld returned 1 exit status
I have followed the instruction given in this compilation guide to install ffmpeg
in ubuntu 15.04.
Command used for compilation:
gcc -I /home/adeshpande/ffmpeg_build/include/ -o tutorial01 tutorial01.c -lavutil -lavformat -lavcodec -lz -lavutil -lm
You could add a -L/path/to/folder/containing/avutil