Re: Output file extension ignored using PerlMagic::Write & gm convert

Jeffrey Berger <[email protected]> Thu, 1 Dec 2016 21:41:56 -0600
Newsgroups gmane.comp.video.graphicsmagick.bugs
Message-ID <[email protected]>
--===============7847532847885726423==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_DDA34CEC-59CD-4E4C-9FAA-68E3AC7355F5"


--Apple-Mail=_DDA34CEC-59CD-4E4C-9FAA-68E3AC7355F5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Dec 1, 2016, at 9:32 PM, Bob Friesenhahn =
<[email protected]> wrote:
>=20
> On Thu, 1 Dec 2016, Jeffrey Berger wrote:
>>>=20
>>> I would guess (never having heard of this sort of problem before) =
that you are using a modules-based build and a library needed by these =
modules is broken or not present.
>>=20
>> jeff@ec2 02.12.16 00:32:~$ gm convert -list module
>> gm convert: Unrecognized list type (module).
>> jeff@ec2 02.12.16 03:11:~$ gm convert -list format
>>  Format L  Mode  Description
>>=20
>> =E2=80=A6 too much output for the list, but JPG, PNG and TIF were not =
on the list. GIF, BMP and PPM were.
>=20
> Lastly, what does 'gm -version' say?  Does it mention support for =
JPEG, PNG, and TIFF?

Not supported. Also mentioned

Configured using the command:
  ./configure  '--enable-shared'


> Are you sure that you are using an official installed gm (use 'which =
gm' to see where it came from)?

jeff@ec2 02.12.16 03:34:~$ which gm
/usr/local/bin/gm
>=20
> Do
>=20
>  ldd `which gm`

jeff@ec2 02.12.16 03:36:~$ ldd `which gm`
	linux-vdso.so.1 =3D>  (0x00007ffcb59ca000)
	libGraphicsMagick.so.3 =3D> =
/usr/local/lib/libGraphicsMagick.so.3 (0x00007f67f902e000)
	libpthread.so.0 =3D> /lib/x86_64-linux-gnu/libpthread.so.0 =
(0x00007f67f8e10000)
	libc.so.6 =3D> /lib/x86_64-linux-gnu/libc.so.6 =
(0x00007f67f8a4b000)
	libxml2.so.2 =3D> /usr/lib/x86_64-linux-gnu/libxml2.so.2 =
(0x00007f67f86e4000)
	libz.so.1 =3D> /lib/x86_64-linux-gnu/libz.so.1 =
(0x00007f67f84cb000)
	libm.so.6 =3D> /lib/x86_64-linux-gnu/libm.so.6 =
(0x00007f67f81c5000)
	libgomp.so.1 =3D> /usr/lib/x86_64-linux-gnu/libgomp.so.1 =
(0x00007f67f7fb6000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f67f9496000)
	libdl.so.2 =3D> /lib/x86_64-linux-gnu/libdl.so.2 =
(0x00007f67f7db2000)
	liblzma.so.5 =3D> /lib/x86_64-linux-gnu/liblzma.so.5 =
(0x00007f67f7b90000)

>=20
> and see where dependent libraries are coming from.
>=20




--Apple-Mail=_DDA34CEC-59CD-4E4C-9FAA-68E3AC7355F5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Dec 1, 2016, at 9:32 PM, Bob Friesenhahn &lt;<a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"">On =
Thu, 1 Dec 2016, Jeffrey Berger wrote:<br class=3D""><blockquote =
type=3D"cite" class=3D""><blockquote type=3D"cite" class=3D""><br =
class=3D"">I would guess (never having heard of this sort of problem =
before) that you are using a modules-based build and a library needed by =
these modules is broken or not present.<br class=3D""></blockquote><br =
class=3D"">jeff@ec2 02.12.16 00:32:~$ gm convert -list module<br =
class=3D"">gm convert: Unrecognized list type (module).<br =
class=3D"">jeff@ec2 02.12.16 03:11:~$ gm convert -list format<br =
class=3D""> &nbsp;Format L &nbsp;Mode &nbsp;Description<br class=3D""><br =
class=3D"">=E2=80=A6 too much output for the list, but JPG, PNG and TIF =
were not on the list. GIF, BMP and PPM were.<br =
class=3D""></blockquote><br class=3D"">Lastly, what does 'gm -version' =
say? &nbsp;Does it mention support for JPEG, PNG, and TIFF?<br =
class=3D""></div></div></blockquote><div><br class=3D""></div>Not =
supported. Also mentioned</div><div><br class=3D""></div><div><font =
face=3D"Monaco" class=3D"">Configured using the command:<br =
class=3D"">&nbsp;&nbsp;./configure&nbsp;&nbsp;'--enable-shared'<br =
class=3D""></font><br class=3D""></div><div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D""><div class=3D"">Are you sure =
that you are using an official installed gm (use 'which gm' to see where =
it came from)?<br class=3D""></div></div></blockquote><div><br =
class=3D""></div><div><font face=3D"Monaco" class=3D"">jeff@ec2 02.12.16 =
03:34:~$ which gm<br class=3D"">/usr/local/bin/gm<br =
class=3D""></font></div><blockquote type=3D"cite" class=3D""><div =
class=3D""><div class=3D""><br class=3D"">Do<br class=3D""><br class=3D"">=
 &nbsp;ldd `which gm`<br class=3D""></div></div></blockquote><div><br =
class=3D""></div><font face=3D"Monaco" class=3D"">jeff@ec2 02.12.16 =
03:36:~$ ldd `which gm`<br class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>linux-vdso.so.1 =
=3D&gt;&nbsp;&nbsp;(0x00007ffcb59ca000)<br class=3D""><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>libGraphicsMagick.so.3 =3D&gt; =
/usr/local/lib/libGraphicsMagick.so.3&nbsp;(0x00007f67f902e000)<br =
class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>libpthread.so.0 =3D&gt; =
/lib/x86_64-linux-gnu/libpthread.so.0&nbsp;(0x00007f67f8e10000)<br =
class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>libc.so.6 =3D&gt; /lib/x86_64-linux-gnu/libc.so.6 =
(0x00007f67f8a4b000)<br class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>libxml2.so.2 =3D&gt; =
/usr/lib/x86_64-linux-gnu/libxml2.so.2&nbsp;(0x00007f67f86e4000)<br =
class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>libz.so.1 =3D&gt; /lib/x86_64-linux-gnu/libz.so.1 =
(0x00007f67f84cb000)<br class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>libm.so.6 =3D&gt; =
/lib/x86_64-linux-gnu/libm.so.6 (0x00007f67f81c5000)<br class=3D""><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>libgomp.so.1 =3D&gt; =
/usr/lib/x86_64-linux-gnu/libgomp.so.1&nbsp;(0x00007f67f7fb6000)<br =
class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>/lib64/ld-linux-x86-64.so.2 (0x00007f67f9496000)<br =
class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>libdl.so.2 =3D&gt; /lib/x86_64-linux-gnu/libdl.so.2 =
(0x00007f67f7db2000)<br class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>liblzma.so.5 =3D&gt; =
/lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f67f7b90000)<br class=3D""><br =
class=3D""></font><blockquote type=3D"cite" class=3D""><div =
class=3D""><div class=3D""><br class=3D"">and see where dependent =
libraries are coming from.<br class=3D""><br =
class=3D""></div></div></blockquote><br class=3D""></div><div><br =
class=3D""></div><br class=3D""></body></html>=

--Apple-Mail=_DDA34CEC-59CD-4E4C-9FAA-68E3AC7355F5--


--===============7847532847885726423==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
--===============7847532847885726423==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Graphicsmagick-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-bugs

--===============7847532847885726423==--