title: How to avoid WSRegister* on a Free Pascal .dll/.so
body: <p>I finally had success compiling a "blank" Apache module, but now I've hit a rather annoying snag.</p>
  
  <p>I want to communicate with a MongoDB server and I opted for the only lib around for FreePascal/Lazarus, <a href="http://code.google.com/p/pebongo" rel="nofollow">pebongo</a>.</p>
  
  <p>Dependency for <a href="http://code.google.com/p/pebongo" rel="nofollow">pebongo</a> is synapse.</p>
  
  <p>Somehow I'm getting "/usr/lib/apache2/modules/mod_visius.so: undefined symbol: WSRegisterCustomImageList" when loading my module into Apache.</p>
  
  <p>I've tracked down the symbols onto Menus.pp, I think, and lazarusall(something) also plays a role in this. Again, I think :)</p>
  
  <p>How should I avoid those WSRegister* symbols showing up?</p>