I'm a real beginner at this, so apologies in advance for obvious questions. I'm trying to compile a custom build of ffmpeg that has some extra dependencies the normal build does not. Among those is libgcrypt
and libgpg-error
- I know this, because when I run configure
, it fails, and the log contains:
C:/workspace/windows/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/6.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgcrypt
C:/workspace/windows/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/6.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgpg-error
With this in mind, I cloned the repo for libgpg-error, ran make
and make install
, which created libgpg-error.dll.a
and libgpg-error.la
in /home/myuser/w64root/lib
. I've tried adding this path to my $LIB
environment variable, but the configure run still says it can't find the library.
How can I make it visible? I also have pkg-config
available on the machine - would manually creating a .pc
file help me any?
Thanks!