title: GD, libJPEG loaded, imagejpeg returns false
body: <p>I'm having a strange behavior with PHP, GD, and libJPEG</p>
  
  <p>Here is my phpinfo() for GD:</p>
  
  <pre><code>GD Support  enabled
  GD Version  bundled (2.0.34 compatible)
  GIF Read Support    enabled
  GIF Create Support  enabled
  JPEG Support    enabled
  libJPEG Version 8
  PNG Support enabled
  libPNG Version  1.2.44
  WBMP Support    enabled
  XBM Support enabled
  </code></pre>
  
  <p>This is what I'm doing :</p>
  
  <pre><code>$img = imagecreatefromjpeg("/home/logo.jpg");
  var_dump($img)
  </code></pre>
  
  <p>Result is false. Image exists, and is chmodded 777.</p>
  
  <p>I'm running php 5.3.9, also make test FAILED on JPEG &lt;-> png conversions and others JPEG operations.</p>
  
  <p>Any ideas? Thanks!</p>
  
  <p><strong>SOLUTION FOUND : remove --disable-rpath from ./configure. And now I'm going to take a gun and shot me in the head.</strong> </p>