[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
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=summary 
seems to cause an error building libgcrypt
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=summary 
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
-liconv
>
/home/u/Desktop/workdir/toolchain/x86_64-w64-mingw32/lib/gcc/x86_64-w64-ming
w32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld:
/home/u/Desktop/workdir/toolchain/x86_64-w64-mingw32/lib/gcc/x86_64-w64-ming
w32/8.2.0/../../../../x86_64-w64-
mingw32/lib/../lib/libgcrypt.a(libgcrypt_la-visibility.o):visibility.c:(.tex
t+0x4a): undefined reference to `gpg_err_code_from_errno'
. lot of similar .
>
/home/u/Desktop/workdir/toolchain/x86_64-w64-mingw32/lib/gcc/x86_64-w64-ming
w32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libgcrypt.a(random-syste
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