Troubleshooting Image Conversion

From WeBWorK
(Difference between revisions)
Jump to: navigation, search
(New page: == Inappropriate ioctl for device == This error is somewhat mysterious, but in at least one case it was caused by the Netpbm tools using shared libraries instead of statically linked libr...)
 
 
Line 1: Line 1:
 +
== General troubleshooting ==
 +
 +
* Verify that <code>$netpbm_prefix</code> is set correctly in <code>global.conf</code>. The correct value is usually either <code>/usr/bin</code> or <code>/usr/local/bin</code>.
 +
* Make sure that the following Netpbm utilities are installed in the directory given by <code>$netpbm_prefix</code>.
 +
** giftopnm
 +
** ppmtopgm
 +
** pnmtops
 +
** pnmtopng
 +
** pngtopnm
 +
 
== Inappropriate ioctl for device ==
 
== Inappropriate ioctl for device ==
  

Latest revision as of 15:35, 21 February 2008

General troubleshooting

  • Verify that $netpbm_prefix is set correctly in global.conf. The correct value is usually either /usr/bin or /usr/local/bin.
  • Make sure that the following Netpbm utilities are installed in the directory given by $netpbm_prefix.
    • giftopnm
    • ppmtopgm
    • pnmtops
    • pnmtopng
    • pngtopnm

Inappropriate ioctl for device

This error is somewhat mysterious, but in at least one case it was caused by the Netpbm tools using shared libraries instead of statically linked libraries. If this case applies to you, you may need to recompile Netpbm and tell it to use statically linked libraries:

Do you want libnetpbm to be statically linked or shared?
static or shared [shared] ==> static
follow us