[FFmpeg-user] errors relating to libgcrypt

hydra3333 hydra3333 at gmail.com
Thu Nov 29 03:13:22 EET 2018

Hello, 2 things. 

1 Apparently ffmpeg can be built with --enable-gcrypt so I thought I'd give
it a try.
libgpg-error is a dependency of libgcrypt.
One or both of two recent commits in
seems to cause an error building libgcrypt
Does anyone else experience this ?
I am unsure how to report that, any ideas ?

2 Anyway, building with a prior libgpg-error commit works, however when
ffmpeg is then built (cross-compiled) with --enable-gcrypt then the
configure aborts saying that ffmpeg didn't detect gcrypt.
>From the ffbuild.log :-
> x86_64-w64-mingw32-gcc -O3 -Wl,--nxcompat,--dynamicbase
-Wl,--high-entropy-va -Wl,--as-needed -Wl,--image-base,0x140000000 -o
/tmp/ffconf.KIE07SEz/test.exe /tmp/ffconf.KIE07SEz/test.o -lgcrypt -lintl
t+0x4a): undefined reference to `gpg_err_code_from_errno'
. lot of similar .
m.o):random-system.c:(.text+0x289): undefined reference to `gpg_strerror'
collect2: error: ld returned 1 exit status
> ERROR: gcrypt not found
What am I doing wrong ?

More information about the ffmpeg-user mailing list