title: Symbol lookup error when using custom .xinitrc
body: <p>I've built an application in C for a small touchscreen panel running Debian Squeeze. It compiles and runs fine on the panel in the default icewm Window Manager, but I would like the application to launch at boot with no taskbar or anything. So I made a custom .xinitrc file with only my application on it:</p>
  
  <pre><code>exec cowboys
  </code></pre>
  
  <p>Now, when I run startx, I get the following error:</p>
  
  <pre><code>cowboys: symbol lookup error: /usr/lib/libgdk-x11-2.0.so.0: undefined symbol: g_malloc_n
  </code></pre>
  
  <p>Can anyone tell me what I'm doing wrong here?</p>
  
  <p>Thanks!</p>