Re: EPS conversion aborted
Posted: 2015-01-06T05:21:59-07:00
Yes there was only one ghostscript version (9.15) installed on this server.
Code: Select all
# find / -name gs
/usr/bin/gs
Use https://github.com/ImageMagick/ImageMagick/discussions instead.
https://imagemagick.com/discourse-server/
https://imagemagick.com/discourse-server/viewtopic.php?t=26728
Code: Select all
# find / -name gs
/usr/bin/gs
I'm afraid there is only one libgs.so:dlemstra wrote:Maybe there are more versions of libgs.so on your machine? This library will be probably be in another package.
Code: Select all
# find / -name libgs.so
/usr/lib64/libgs.so
Code: Select all
dirk@singlemalt:~$ locate libgs.so
/usr/lib/libgs.so
/usr/lib/libgs.so.9
/usr/lib/libgs.so.9.10
Code: Select all
[root@localhost ~]# gs -v
GPL Ghostscript 9.15 (2014-09-22)
Copyright (C) 2014 Artifex Software, Inc. All rights reserved.
[root@localhost ~]# locate libgs.so
/usr/lib64/libgs.so
/usr/lib64/libgs.so.8
/usr/lib64/libgs.so.8.70
[root@localhost ~]# rpm -qa | grep ghost
ghostscript-fonts-5.50-23.2.el6.noarch
ghostscript-devel-8.70-19.el6.x86_64
ghostscript-8.70-19.el6.x86_64
Code: Select all
checking for Ghostscript...
checking for Ghostscript version... 9.15
checking for gs alpha device... pngalpha
checking for gs color device... pnmraw
checking for gs CMYK device... pam
checking for gs mono device... pbmraw
checking for gs PDF writing device... pdfwrite
checking for gs PS writing device... ps2write
checking for gs EPS writing device... Unknown device: epswrite
Unrecoverable error: syntaxerror in --nostringval--
Operand stack:
defaultdevice
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
nodevice
Code: Select all
[root@localhost ~]# ldd /usr/bin/convert
linux-vdso.so.1 => (0x00007fff017e0000)
libMagickCore-6.Q16.so.2 => /usr/lib/libMagickCore-6.Q16.so.2 (0x00007f3d34df0000)
libMagickWand-6.Q16.so.2 => /usr/lib/libMagickWand-6.Q16.so.2 (0x00007f3d34aca000)
liblcms2.so.2 => /usr/lib64/liblcms2.so.2 (0x00007f3d3487c000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f3d345df000)
libfftw3.so.3 => /usr/lib64/libfftw3.so.3 (0x00007f3d342e0000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f3d340aa000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f3d33e98000)
libXt.so.6 => /usr/lib64/libXt.so.6 (0x00007f3d33c32000)
liblzma.so.0 => /usr/lib64/liblzma.so.0 (0x00007f3d33a11000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f3d33800000)
libz.so.1 => /lib64/libz.so.1 (0x00007f3d335e9000)
libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007f3d333e0000)
libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007f3d331d8000)
libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007f3d32fbb000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f3d32c7e000)
libgomp.so.1 => /usr/lib64/libgomp.so.1 (0x00007f3d32a69000)
libm.so.6 => /lib64/libm.so.6 (0x00007f3d327e4000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3d325c7000)
libc.so.6 => /lib64/libc.so.6 (0x00007f3d32233000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f3d3201c000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f3d31df4000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f3d31bef000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f3d319eb000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f3d317cd000)
librt.so.1 => /lib64/librt.so.1 (0x00007f3d315c4000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3d352a6000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f3d313c1000)
[root@localhost ~]# ldd /usr/bin/gs
linux-vdso.so.1 => (0x00007fff7afff000)
libXt.so.6 => /usr/lib64/libXt.so.6 (0x00007fd6781b5000)
libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007fd677fad000)
libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007fd677d90000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fd677b7e000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fd677841000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fd67763c000)
libm.so.6 => /lib64/libm.so.6 (0x00007fd6773b8000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fd677182000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fd676f64000)
libc.so.6 => /lib64/libc.so.6 (0x00007fd676bd0000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fd6769cc000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fd6767ad000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd678424000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fd676510000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007fd6762e8000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fd6760e4000)
Code: Select all
Ghostscript lib --with-gslib=yes yes
Code: Select all
./configure --with-gslib
While my earlier post in the current thread was out of context -- for this question (compiling current GS sources) it may be relevant...kriks wrote:Do you know what that means ?Code: Select all
checking for Ghostscript... [....] checking for gs PS writing device... ps2write checking for gs EPS writing device... Unknown device: epswrite [....]
In this case, it seems that it's the ps:cmyk delegates that is used :fmw42 wrote:You might check your delegates.xml file to see what sDEVICE is being used for EPS.
Code: Select all
<delegate decode="ps:cmyk" stealth="True" command=""gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pam" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s""/>
Yes, I saw it, and when I use it, the convert fails. (Aborted)dlemstra wrote:Your first log has the following text '[ghostscript library]'. This means that it will use the library instead of the command-line. Do you see the following in your config.log?