If you run "pacman -Ql mingw-w64-x86_64-zlib", you can see that that package comes with header files and .pc files and everything else you should need need to use zlib. I don't know why that particular configure script is failing.
--David On Fri, Feb 22, 2019 at 9:10 AM Valerio Messina via Msys2-users < msys2-users@lists.sourceforge.net> wrote: > hi, > seems there is zlib-devel for msys but not for mingw: > > $ pacman -Sl | grep zlib > mingw32 mingw-w64-i686-zlib 1.2.11-5 [installato] > mingw64 mingw-w64-x86_64-zlib 1.2.11-5 [installato] > msys mingw-w64-cross-zlib 1.2.11-1 [installato] > msys zlib 1.2.11-1 [installato] > msys zlib-devel 1.2.11-1 [installato] > > and so for example a JBIG2 encoder: > https://github.com/agl/jbig2enc > fail in configure with: > ... > checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC > checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes > checking if g++ static flag -static works... yes > checking if g++ supports -c -o file.o... yes > checking if g++ supports -c -o file.o... (cached) yes > checking whether the g++ linker > (D:/ProgramFiles/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) supports > shared libraries... yes > checking dynamic linker characteristics... Win32 ld.exe > checking how to hardcode library paths into programs... immediate > checking for _head_libws2_32_a in -lws2_32... no > Error! zlib not detected. > > Is it a known miss? > > -- > Valerio > > > _______________________________________________ > Msys2-users mailing list > Msys2-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/msys2-users >
_______________________________________________ Msys2-users mailing list Msys2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/msys2-users