Symbol 'jpeg_destroy_compress' not found in libjpeg-turbo-dev 2.0.4-r1
Firefox 74.0 fails to build against libjpeg-turbo-dev 2.0.4-r1:
checking for jpeg_destroy_compress...
DEBUG: Creating `/tmp/conftest.JDZplP.c` with content:
DEBUG: | /* Override any gcc2 internal prototype to avoid an error. */
DEBUG: | /* We use char because int might match the return type of a gcc2
DEBUG: | builtin and then its argument prototype would still apply. */
DEBUG: | char jpeg_destroy_compress();
DEBUG: | int
DEBUG: | main(void)
DEBUG: | {
DEBUG: | jpeg_destroy_compress();
DEBUG: | ;
DEBUG: | return 0;
DEBUG: | }
DEBUG: Executing: `/usr/bin/gcc -std=gnu99 -ljpeg /tmp/conftest.JDZplP.c`
DEBUG: The command returned non-zero exit status 1.
DEBUG: Its error output was:
DEBUG: | /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld:/tmp/ccDkakfe.o
: in function `main':
DEBUG: | conftest.JDZplP.c:(.text+0xa): undefined reference to `jpeg_destroy_compress'
DEBUG: | collect2: error: ld returned 1 exit status
ERROR: --with-system-jpeg requested but symbol jpeg_destroy_compress not found.