title: CentOS and fontconfig: Cannot load default config file
body: <p>I'm getting following error when using imagick:</p>
  
  <pre><code>Fontconfig error: Cannot load default config file 
  </code></pre>
  
  <p>My script is working but i would like to fix this (is filling up log file).</p>
  
  <p>OS is:</p>
  
  <pre><code># cat /etc/redhat-release
  CentOS release 5.10 (Final)
  </code></pre>
  
  <p>I was looking trough internet little bit and this is causing problem:</p>
  
  <pre><code>access("/etc/fonts/fonts.conf", R_OK)   = -1 ENOENT (No such file or directory)
  </code></pre>
  
  <p>Folder exists:</p>
  
  <pre><code># ls /etc/fonts/ -all
  total 64
  drwxr-xr-x  4 root root  4096 Jul  9  2010 ./
  drwxr-xr-x 86 root root 12288 Jan 13 00:48 ../
  drwxr-xr-x  2 root root  4096 Jan  3  2012 conf.avail/
  drwxr-xr-x  2 root root  4096 Apr 14  2013 conf.d/
  -rw-r--r--  1 root root  5239 Jan 12  2008 fonts.conf
  -rw-r--r--  1 root root  6907 Jan 12  2008 fonts.dtd
  </code></pre>
  
  <p>But i see only this folder via root account, other account under with script is run doesn't see this folder. Permissions looks fine for me, but not so experienced with linux.</p>
  
  <p>Account under with script is run is created with WHM.</p>
  
  <p>Please help :)</p>