imagemagick with pdf
Hermann Peifer
peifer at gmx.eu
Thu Feb 20 10:01:15 PST 2014
On 2014-02-20 16:57, Brandon Allbery wrote:
> On Thu, Feb 20, 2014 at 1:52 AM, Sterling Smith <smithsp at fusion.gat.com
> <mailto:smithsp at fusion.gat.com>> wrote:
>
> Roger,
>
> I have ghostscript installed, but
> port contents ghostscript | grep convert
>
>
> "convert" is from ImageMagick; it uses delegates to do various things,
> and one of those delegates (in this case, for PostScript and PDF) is
> ghostscript. Roger is asking why the delegation from ImageMagick to
> ghostscript is failing.
>
> (I do not have an answer, but the fact that it's trying to open a *.la
> file makes me think this involves Mavericks, which I do not run.)
>
Works for me on Mavericks. See below. Hermann
$ dtruss convert some.pdf[0] out.jpg 2>&1 | grep pdf.la
stat64("/opt/local/lib/ImageMagick-6.8.8//modules-Q16/coders/pdf.la\0",
0x7FFF54036AB0, 0xFC5) = 0 0
access("/opt/local/lib/ImageMagick-6.8.8//modules-Q16/coders/pdf.la\0",
0x0, 0x0) = 0 0
open_nocancel("/opt/local/lib/ImageMagick-6.8.8//modules-Q16/coders/pdf.la\0",
0x0, 0x1B6) = 3 0
read_nocancel(0x3, "# pdf.la - a libtool library file\n# Generated by
libtool (GNU libtool) 2.4.2\n#\n# Please DO NOT delete this file!\n# It
is necessary for linking the library.\n\n# The name that we can
dlopen(3).\ndlname='pdf.so'\n\n# Names of this
library.\nlibrary_names='pdf.so p", 0x1000) = 915 0
$ port contents ImageMagick | grep pdf
/opt/local/lib/ImageMagick-6.8.8/modules-Q16/coders/pdf.la
/opt/local/lib/ImageMagick-6.8.8/modules-Q16/coders/pdf.so
More information about the macports-users
mailing list