Я пытаюсь создать проект, в котором используется libcurl
. Он находит все зависимости, кроме одной - -lbrotlidec
:
D:/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lbrotlidec
У меня установлен пакет mingw-w64-x86_64-brotli
. Я запустил
ld --verbose -lbrotlidec
и ld
нашел библиотеку.
attempt to open d:\msys64\mingw64\bin\../../mingw64/mingw64/x86_64-w64-mingw32/lib/brotlidec.dll.a failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/mingw64/x86_64-w64-mingw32/lib/libbrotlidec.a failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/mingw64/x86_64-w64-mingw32/lib/brotlidec.lib failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/mingw64/x86_64-w64-mingw32/lib/libbrotlidec.lib failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/mingw64/x86_64-w64-mingw32/lib/libbrotlidec.dll failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/mingw64/x86_64-w64-mingw32/lib/brotlidec.dll failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/mingw64/x86_64-w64-mingw32/lib\libbrotlidec.a failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/mingw64/lib/libbrotlidec.dll.a failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/mingw64/lib/brotlidec.dll.a failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/mingw64/lib/libbrotlidec.a failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/mingw64/lib/brotlidec.lib failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/mingw64/lib/libbrotlidec.lib failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/mingw64/lib/libbrotlidec.dll failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/mingw64/lib/brotlidec.dll failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/mingw64/lib\libbrotlidec.a failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/usr/local/lib/libbrotlidec.dll.a failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/usr/local/lib/brotlidec.dll.a failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/usr/local/lib/libbrotlidec.a failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/usr/local/lib/brotlidec.lib failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/usr/local/lib/libbrotlidec.lib failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/usr/local/lib/libbrotlidec.dll failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/usr/local/lib/brotlidec.dll failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/usr/local/lib\libbrotlidec.a failed
attempt to open d:\msys64\mingw64\bin\../../mingw64/lib/libbrotlidec.dll.a succeeded
d:\msys64\mingw64\bin\../../mingw64/lib/libbrotlidec.dll.a
Как мне go решить эту проблему?