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 15:01:17 -0700

 Tried ImageMagick from pkgsrc trunk, and it still tries to use the
 function from libgs.dylib, unfortunately.
 
 I also do believe that even without libjpeg's buildlink3.mk and
 --with-jpeg, ImageMagick had still picked up the libjpeg and had it
 dynamically linked into ``libMagickCore-7.Q16HDRI.6.dylib``
 regardless.
 
 If it helps, here's some of the output from ``jtool -l`` that shows
 what shared libraries my installed copy of
 libMagickCore-7.Q16HDRI.6.dylib from pkgsrc trunk requires. I'm pretty
 sure it's identical to what I saw in pkgsrc-2018Q4 last night, in that
 it still had libjpeg linked:
 
 ---SNIP---
 jtool -l ${PKG/}lib/libMagickCore-7.Q16HDRI.6.dylib:
 
 /Users/bapa/pkg/lib/liblcms2.2.dylib
 /Users/bapa/pkg/lib/libtiff.5.dylib
 /Users/bapa/pkg/lib/libjbig.2.dylib
 /Users/bapa/pkg/lib/libgs.9.dylib
 /Users/bapa/pkg/lib/liblqr-1.0.dylib
 /Users/bapa/pkg/lib/libglib-2.0.0.dylib
 /Users/bapa/pkg/lib/libpcre.1.dylib
 /Users/bapa/pkg/lib/libintl.8.dylib
 /usr/lib/libSystem.B.dylib
 /Users/bapa/pkg/lib/libpng16.16.dylib
 /Users/bapa/pkg/lib/libdjvulibre.21.dylib
 /Users/bapa/pkg/lib/libjpeg.9.dylib
 /Users/bapa/pkg/lib/libfftw3.3.dylib
 /opt/X11/lib/libfontconfig.1.dylib
 /opt/X11/lib/libfreetype.6.dylib
 /Users/bapa/pkg/lib/libwebpmux.3.dylib
 /Users/bapa/pkg/lib/libwebp.7.dylib
 /opt/X11/lib/libXext.6.dylib
 /opt/X11/lib/libXt.6.dylib
 /opt/X11/lib/libSM.6.dylib
 /opt/X11/lib/libICE.6.dylib
 /opt/X11/lib/libX11.6.dylib
 /usr/lib/libbz2.1.0.dylib
 /Users/bapa/pkg/lib/libopenjp2.7.dylib
 /Users/bapa/pkg/lib/libxml2.2.dylib
 /Users/bapa/pkg/lib/liblzma.5.dylib
 /usr/lib/libiconv.2.dylib
 /usr/lib/libz.1.dylib
 /Users/bapa/pkg/lib/libltdl.7.dylib
 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
 ---/SNIP---
 
 And in a bid of desperation, I've also tried switching the order libgs
 and libjpeg are linked in (AKA, the MAGICK_LIBS variable) to see if I
 could get libMagickCore-7.Q16HDRI.6.dylib to load libjpeg before libgs
 does, but no luck there either.
 
 Hope this helps. Thanks.
 


Home | Main Index | Thread Index | Old Index