[FFmpeg-user] Static build FFmpeg - but no FFplay.

batguano999 batguano999 at zoho.com
Tue Nov 12 22:29:04 CET 2013



 >  
 > --extra-ldflags=-ldl 
 > That's fixed it! 
 >  
 Hello again.

On my system using --extra-ldflags isn't so good. Doesn't work every time. :-(

It's more reliable (for me) to do the same job by editing the sdl.pc file instead. :-)

The file is here:-
$HOME/build/lib/pkgconfig/sdl.pc

Add -ldl to Libs.

Change one line...

Before:-
Libs: -L${libdir} -Wl,-rpath,${libdir} -lSDL  -lpthread

After:-
Libs: -L${libdir} -Wl,-rpath,${libdir} -lSDL -ldl -lpthread



More information about the ffmpeg-user mailing list