pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/53921 (graphics/ImageMagic [macOS]: fails with JPEG library version mismatch errors due to using print/ghotscript-gpl's `jpeg_CreateDecompress` function)
The following reply was made to PR pkg/53921; it has been noted by GNATS.
From: "Dean M." <bapabooiee%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/53921 (graphics/ImageMagic [macOS]: fails with JPEG library
version mismatch errors due to using print/ghotscript-gpl's
`jpeg_CreateDecompress` function)
Date: Tue, 29 Jan 2019 17:19:43 -0700
So after some sleuthing, it turns out using the more up-to-date AGPL
Ghostscript (as opposed to the GPL one) in pkgsrc fixes this issue.
Here's `nm` on the GPL version (ghostscript-gpl, v9.05), showing
function is exported:
0000000000056870 T _jpeg_CreateCompress
And for the AGPL one (ghostscript-agpl, 9.26), it is -- as it should
be -- an undefined reference:
U _jpeg_CreateCompress
It's also worth nothing that ghostscript-gpl-9.05 has its internal
libjpeg JPEG_LIB_VERSION defined as 80, but ghostscript-agpl-9.26 is
at 90 (the same version that graphics/jpeg is currently at).
Home |
Main Index |
Thread Index |
Old Index