Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 572 by cddeg...@
gmail.com: autoconf: dependencies for libtiff aren't pulled in
https://bugs.chromium.org/p/webp/issues/detail?id=572What steps will reproduce the problem?
1. compile static libtiff with a different set of external libraries than the system's (if present)
2. ./configure --enable-{swap-16bit-csp,libwebpmux} --enable-libwebp{demux,decoder,extras}
3. make -j$(nproc)
What is the expected output?
successful compile
What do you see instead?
```
make[1]: Entering directory '/build/libwebp-git/build-64bit/extras'
CCLD get_disto.exe
D:/media-autobuild_suite/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/media-autobuild_suite/local64/lib/../lib/libtiff.a(tif_jpeg.c.obj):tif_jpeg.c:(.text+0x614): undefined reference to `jpeg_write_raw_data'
...
D:/media-autobuild_suite/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/media-autobuild_suite/local64/lib/../lib/libtiff.a(tif_pixarlog.c.obj):tif_pixarlog.c:(.text+0xc4): undefined reference to `deflateParams'
...
D:/media-autobuild_suite/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/media-autobuild_suite/local64/lib/../lib/libtiff.a(tif_zip.c.obj):tif_zip.c:(.text+0xa4): undefined reference to `libdeflate_free_decompressor'
...
D:/media-autobuild_suite/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/media-autobuild_suite/local64/lib/../lib/libtiff.a(tif_zstd.c.obj):tif_zstd.c:(.text+0x88): undefined reference to `ZSTD_freeDStream'
```
What version of the product are you using? On what operating system?
v1.2.2-87-gb2f514da
Windows+msys2(mingw64 subsystem)
Please provide any additional information below.
Currently, requires something like `LIBS=$($PKG_CONFIG --libs libpng libtiff-4)` to provide the other dependencies
--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings