[FFmpeg-user] ffmpeg windows build

Tim Nicholson tim.nicholson at bbc.co.uk
Tue Oct 18 09:36:15 CEST 2011

On 18/10/11 03:21, Kyle wrote:
> On 10/17/2011 10:16 AM, Tim Nicholson wrote:
>> Well I am making good progress with this, but have stuck on an odd
>> problem with librtmp.
>> It compiles fine, both with and without OpenSSL support.
>> However when trying to --enable-librtmp ffmpeg ./configure fails
>> because it cannot find -ldl.
>> Now this is curious because I am doing a static only build, so libdl.a
>> should not be needed as far as I can see, but for some reason ffmpeg
>> wants it (and it doesn't exist in the cross compile toolchain)
>> I also notice that even when librtmp is compiled without openSSL
>> support, ffmpeg still insists on having libssl.a and libcrpto.a to
>> hand (and libdl.a) if you want to include librtmp. this is an error
>> surely?
> How did you compile rtmp and openssl?



...and not a shared library in sight, that I could see....

> Did you edit the pkgconfig files?

I edited the librtmp.pc file as the prefix(es) were obviously wrong.
I checked the libssl/pc and libcrypto.pc files but could not see any 
glaring errors, prefixes were correct and ldl was not listed under any 
of the Libs/Libs.private:-

Libs: -L${libdir} -lrtmp -lz                                #librtmp
Libs: -L${libdir} -lssl -lcrypto -lws2_32 -lgdi32 -lcrypt32 #libssl
Libs: -L${libdir} -lcrypto -lws2_32 -lgdi32 -lcrypt32       #libcrypto

This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.

More information about the ffmpeg-user mailing list